Create and update a k8s service for each processing with expose model
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
{
|
||||
"id": "9c7ffc7e-3e6e-4ea8-8eab-3a03258712ff",
|
||||
"name": "test-services",
|
||||
"resourceset": {
|
||||
"processings": [
|
||||
"7c71a15b-bdbc-46d7-9dab-67e369804136",
|
||||
"0d565c87-50ae-4a73-843d-f8b2d4047772"
|
||||
],
|
||||
"datacenters": [
|
||||
"7b989e97-c3e7-49d2-a3a7-f959da4870b5"
|
||||
]
|
||||
},
|
||||
"processings": [
|
||||
"7c71a15b-bdbc-46d7-9dab-67e369804136",
|
||||
"0d565c87-50ae-4a73-843d-f8b2d4047772"
|
||||
],
|
||||
"datacenters": [
|
||||
"7b989e97-c3e7-49d2-a3a7-f959da4870b5"
|
||||
],
|
||||
"graph": {
|
||||
"zoom": 1,
|
||||
"items": {
|
||||
@@ -28,7 +26,7 @@
|
||||
},
|
||||
"args": {
|
||||
"type": "string",
|
||||
"value": "-SL https://cloud.o-forge.io/core/oc-monitord/raw/branch/services_demo/demo_nginx/cockpit.html -o /usr/share/ningx/cockpit.hmtl"
|
||||
"value": "-SL https://cloud.o-forge.io/core/oc-monitord/raw/branch/services_demo/demo_nginx/cockpit.html -o /usr/share/nginx/cockpit.hmtl"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -61,7 +59,7 @@
|
||||
},
|
||||
"args": {
|
||||
"type": "string",
|
||||
"value": "-SL https://cloud.o-forge.io/core/oc-monitord/raw/branch/services_demo/demo_nginx/DTF.html -o /usr/share/ningx/DTF.hmtl"
|
||||
"value": "-SL https://cloud.o-forge.io/core/oc-monitord/raw/branch/services_demo/demo_nginx/DTF.html -o /usr/share/nginx/DTF.hmtl"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -100,6 +98,15 @@
|
||||
},
|
||||
"args": {
|
||||
"type": "string"
|
||||
},
|
||||
"expose": {
|
||||
"type": "dict",
|
||||
"value": {
|
||||
"80" :{
|
||||
"reverse" : "",
|
||||
"PAT" : "308080"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -139,6 +146,15 @@
|
||||
},
|
||||
"args": {
|
||||
"type": "string"
|
||||
},
|
||||
"expose": {
|
||||
"type": "dict",
|
||||
"value": {
|
||||
"80" :{
|
||||
"reverse" : "",
|
||||
"PAT" : "308081"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -222,7 +238,7 @@
|
||||
"y": 0
|
||||
},
|
||||
"destination": {
|
||||
"id": "0d565c87-50ae-4a73-843d-f8b2d4047772",
|
||||
"id": "bf6916ff-b16f-44b3-818b-0bcd5bbaca00",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
}
|
||||
@@ -277,12 +293,12 @@
|
||||
},
|
||||
{
|
||||
"source": {
|
||||
"id": "6a7e8860-7c26-4b70-9b3a-1bd27adcdfe1",
|
||||
"id": "d83ac451-4690-44d9-af09-48e7588b2db9",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"destination": {
|
||||
"id": "d83ac451-4690-44d9-af09-48e7588b2db9",
|
||||
"id": "6a7e8860-7c26-4b70-9b3a-1bd27adcdfe1",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user