1148 lines
28 KiB
C++
1148 lines
28 KiB
C++
#include <string>
|
|
|
|
std::string ts = R"({
|
|
"apiVersion": "v1",
|
|
"items": [{
|
|
"metadata": {
|
|
"creationTimestamp": "2023-08-14T14:27:26Z",
|
|
"labels": {
|
|
"app.kubernetes.io/component": "movementcalculation",
|
|
"app.kubernetes.io/name": "19fe17f6-15ce-4f38-b36f-97da750604f7"
|
|
},
|
|
"managedFields": [{
|
|
"apiVersion": "v1",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:metadata": {
|
|
"f:labels": {
|
|
".": {},
|
|
"f:app.kubernetes.io/component": {},
|
|
"f:app.kubernetes.io/name": {}
|
|
}
|
|
},
|
|
"f:spec": {
|
|
"f:containers": {
|
|
"k:{\"name\":\"19fe17f6-15ce-4f38-b36f-97da750604f7-container\"}": {
|
|
".": {},
|
|
"f:env": {
|
|
".": {},
|
|
"k:{\"name\":\"SERVER_IP\"}": {
|
|
".": {},
|
|
"f:name": {},
|
|
"f:value": {}
|
|
}
|
|
},
|
|
"f:image": {},
|
|
"f:imagePullPolicy": {},
|
|
"f:name": {},
|
|
"f:resources": {},
|
|
"f:terminationMessagePath": {},
|
|
"f:terminationMessagePolicy": {}
|
|
}
|
|
},
|
|
"f:dnsPolicy": {},
|
|
"f:enableServiceLinks": {},
|
|
"f:restartPolicy": {},
|
|
"f:schedulerName": {},
|
|
"f:securityContext": {},
|
|
"f:terminationGracePeriodSeconds": {}
|
|
}
|
|
},
|
|
"manager": "unknown",
|
|
"operation": "Update",
|
|
"time": "2023-08-14T14:27:26Z"
|
|
}, {
|
|
"apiVersion": "v1",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:status": {
|
|
"f:conditions": {
|
|
"k:{\"type\":\"ContainersReady\"}": {
|
|
".": {},
|
|
"f:lastProbeTime": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
},
|
|
"k:{\"type\":\"Initialized\"}": {
|
|
".": {},
|
|
"f:lastProbeTime": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
},
|
|
"k:{\"type\":\"Ready\"}": {
|
|
".": {},
|
|
"f:lastProbeTime": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
}
|
|
},
|
|
"f:containerStatuses": {},
|
|
"f:hostIP": {},
|
|
"f:phase": {},
|
|
"f:podIP": {},
|
|
"f:podIPs": {
|
|
".": {},
|
|
"k:{\"ip\":\"10.0.3.116\"}": {
|
|
".": {},
|
|
"f:ip": {}
|
|
}
|
|
},
|
|
"f:startTime": {}
|
|
}
|
|
},
|
|
"manager": "kubelet",
|
|
"operation": "Update",
|
|
"subresource": "status",
|
|
"time": "2023-08-14T14:27:28Z"
|
|
}],
|
|
"name": "19fe17f6-15ce-4f38-b36f-97da750604f7",
|
|
"namespace": "hwinkel",
|
|
"resourceVersion": "172374042",
|
|
"uid": "276221fe-65d2-4131-92ba-9103e3bc344a"
|
|
},
|
|
"spec": {
|
|
"containers": [{
|
|
"env": [{
|
|
"name": "SERVER_IP",
|
|
"value": "10.0.3.115"
|
|
}],
|
|
"image": "kmaster.ti.unibw-hamburg.de:30808/movementimage:latest",
|
|
"imagePullPolicy": "Always",
|
|
"name": "19fe17f6-15ce-4f38-b36f-97da750604f7-container",
|
|
"resources": {},
|
|
"terminationMessagePath": "/dev/termination-log",
|
|
"terminationMessagePolicy": "File",
|
|
"volumeMounts": [{
|
|
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
|
"name": "kube-api-access-xd5rh",
|
|
"readOnly": true
|
|
}]
|
|
}],
|
|
"dnsPolicy": "ClusterFirst",
|
|
"enableServiceLinks": true,
|
|
"nodeName": "kslave02.ti.unibw-hamburg.de",
|
|
"preemptionPolicy": "PreemptLowerPriority",
|
|
"priority": 0,
|
|
"restartPolicy": "Never",
|
|
"schedulerName": "default-scheduler",
|
|
"securityContext": {},
|
|
"serviceAccount": "default",
|
|
"serviceAccountName": "default",
|
|
"terminationGracePeriodSeconds": 30,
|
|
"tolerations": [{
|
|
"effect": "NoExecute",
|
|
"key": "node.kubernetes.io/not-ready",
|
|
"operator": "Exists",
|
|
"tolerationSeconds": 300
|
|
}, {
|
|
"effect": "NoExecute",
|
|
"key": "node.kubernetes.io/unreachable",
|
|
"operator": "Exists",
|
|
"tolerationSeconds": 300
|
|
}],
|
|
"volumes": [{
|
|
"name": "kube-api-access-xd5rh",
|
|
"projected": {
|
|
"defaultMode": 420,
|
|
"sources": [{
|
|
"serviceAccountToken": {
|
|
"expirationSeconds": 3607,
|
|
"path": "token"
|
|
}
|
|
}, {
|
|
"configMap": {
|
|
"items": [{
|
|
"key": "ca.crt",
|
|
"path": "ca.crt"
|
|
}],
|
|
"name": "kube-root-ca.crt"
|
|
}
|
|
}, {
|
|
"downwardAPI": {
|
|
"items": [{
|
|
"fieldRef": {
|
|
"apiVersion": "v1",
|
|
"fieldPath": "metadata.namespace"
|
|
},
|
|
"path": "namespace"
|
|
}]
|
|
}
|
|
}]
|
|
}
|
|
}]
|
|
},
|
|
"status": {
|
|
"conditions": [{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T14:27:26Z",
|
|
"status": "True",
|
|
"type": "Initialized"
|
|
}, {
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T14:27:28Z",
|
|
"status": "True",
|
|
"type": "Ready"
|
|
}, {
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T14:27:28Z",
|
|
"status": "True",
|
|
"type": "ContainersReady"
|
|
}, {
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T14:27:26Z",
|
|
"status": "True",
|
|
"type": "PodScheduled"
|
|
}],
|
|
"containerStatuses": [{
|
|
"containerID": "cri-o://c68e06e965ece1976e201c1595615b293ea8c3cbb8abb620a3e0437e3fd7073c",
|
|
"image": "kmaster.ti.unibw-hamburg.de:30808/movementimage:latest",
|
|
"imageID": "kmaster.ti.unibw-hamburg.de:30808/movementimage@sha256:b40bd0944a21bc748b5fc077ea13cbe446a00f37a0cf0d4c9d4dd35ac568e3da",
|
|
"lastState": {},
|
|
"name": "19fe17f6-15ce-4f38-b36f-97da750604f7-container",
|
|
"ready": true,
|
|
"restartCount": 0,
|
|
"started": true,
|
|
"state": {
|
|
"running": {
|
|
"startedAt": "2023-08-14T14:27:27Z"
|
|
}
|
|
}
|
|
}],
|
|
"hostIP": "192.168.252.8",
|
|
"phase": "Running",
|
|
"podIP": "10.0.3.116",
|
|
"podIPs": [{
|
|
"ip": "10.0.3.116"
|
|
}],
|
|
"qosClass": "BestEffort",
|
|
"startTime": "2023-08-14T14:27:26Z"
|
|
}
|
|
}, {
|
|
"metadata": {
|
|
"creationTimestamp": "2023-08-14T14:05:27Z",
|
|
"labels": {
|
|
"app.kubernetes.io/component": "movementcalculation",
|
|
"app.kubernetes.io/name": "1ef9f27f-3f7f-41b7-add2-887f96e718ef"
|
|
},
|
|
"managedFields": [{
|
|
"apiVersion": "v1",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:metadata": {
|
|
"f:labels": {
|
|
".": {},
|
|
"f:app.kubernetes.io/component": {},
|
|
"f:app.kubernetes.io/name": {}
|
|
}
|
|
},
|
|
"f:spec": {
|
|
"f:containers": {
|
|
"k:{\"name\":\"1ef9f27f-3f7f-41b7-add2-887f96e718ef-container\"}": {
|
|
".": {},
|
|
"f:env": {
|
|
".": {},
|
|
"k:{\"name\":\"SERVER_IP\"}": {
|
|
".": {},
|
|
"f:name": {},
|
|
"f:value": {}
|
|
}
|
|
},
|
|
"f:image": {},
|
|
"f:imagePullPolicy": {},
|
|
"f:name": {},
|
|
"f:resources": {},
|
|
"f:terminationMessagePath": {},
|
|
"f:terminationMessagePolicy": {}
|
|
}
|
|
},
|
|
"f:dnsPolicy": {},
|
|
"f:enableServiceLinks": {},
|
|
"f:restartPolicy": {},
|
|
"f:schedulerName": {},
|
|
"f:securityContext": {},
|
|
"f:terminationGracePeriodSeconds": {}
|
|
}
|
|
},
|
|
"manager": "unknown",
|
|
"operation": "Update",
|
|
"time": "2023-08-14T14:05:27Z"
|
|
}, {
|
|
"apiVersion": "v1",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:status": {
|
|
"f:conditions": {
|
|
"k:{\"type\":\"ContainersReady\"}": {
|
|
".": {},
|
|
"f:lastProbeTime": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
},
|
|
"k:{\"type\":\"Initialized\"}": {
|
|
".": {},
|
|
"f:lastProbeTime": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
},
|
|
"k:{\"type\":\"Ready\"}": {
|
|
".": {},
|
|
"f:lastProbeTime": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
}
|
|
},
|
|
"f:containerStatuses": {},
|
|
"f:hostIP": {},
|
|
"f:phase": {},
|
|
"f:podIP": {},
|
|
"f:podIPs": {
|
|
".": {},
|
|
"k:{\"ip\":\"10.0.3.186\"}": {
|
|
".": {},
|
|
"f:ip": {}
|
|
}
|
|
},
|
|
"f:startTime": {}
|
|
}
|
|
},
|
|
"manager": "kubelet",
|
|
"operation": "Update",
|
|
"subresource": "status",
|
|
"time": "2023-08-14T14:05:29Z"
|
|
}],
|
|
"name": "1ef9f27f-3f7f-41b7-add2-887f96e718ef",
|
|
"namespace": "hwinkel",
|
|
"resourceVersion": "172370879",
|
|
"uid": "663527c6-92a0-4cc2-9fdc-1a1047115ed7"
|
|
},
|
|
"spec": {
|
|
"containers": [{
|
|
"env": [{
|
|
"name": "SERVER_IP",
|
|
"value": "10.0.3.47"
|
|
}],
|
|
"image": "kmaster.ti.unibw-hamburg.de:30808/movementimage:latest",
|
|
"imagePullPolicy": "Always",
|
|
"name": "1ef9f27f-3f7f-41b7-add2-887f96e718ef-container",
|
|
"resources": {},
|
|
"terminationMessagePath": "/dev/termination-log",
|
|
"terminationMessagePolicy": "File",
|
|
"volumeMounts": [{
|
|
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
|
"name": "kube-api-access-c6jm6",
|
|
"readOnly": true
|
|
}]
|
|
}],
|
|
"dnsPolicy": "ClusterFirst",
|
|
"enableServiceLinks": true,
|
|
"nodeName": "kslave02.ti.unibw-hamburg.de",
|
|
"preemptionPolicy": "PreemptLowerPriority",
|
|
"priority": 0,
|
|
"restartPolicy": "Never",
|
|
"schedulerName": "default-scheduler",
|
|
"securityContext": {},
|
|
"serviceAccount": "default",
|
|
"serviceAccountName": "default",
|
|
"terminationGracePeriodSeconds": 30,
|
|
"tolerations": [{
|
|
"effect": "NoExecute",
|
|
"key": "node.kubernetes.io/not-ready",
|
|
"operator": "Exists",
|
|
"tolerationSeconds": 300
|
|
}, {
|
|
"effect": "NoExecute",
|
|
"key": "node.kubernetes.io/unreachable",
|
|
"operator": "Exists",
|
|
"tolerationSeconds": 300
|
|
}],
|
|
"volumes": [{
|
|
"name": "kube-api-access-c6jm6",
|
|
"projected": {
|
|
"defaultMode": 420,
|
|
"sources": [{
|
|
"serviceAccountToken": {
|
|
"expirationSeconds": 3607,
|
|
"path": "token"
|
|
}
|
|
}, {
|
|
"configMap": {
|
|
"items": [{
|
|
"key": "ca.crt",
|
|
"path": "ca.crt"
|
|
}],
|
|
"name": "kube-root-ca.crt"
|
|
}
|
|
}, {
|
|
"downwardAPI": {
|
|
"items": [{
|
|
"fieldRef": {
|
|
"apiVersion": "v1",
|
|
"fieldPath": "metadata.namespace"
|
|
},
|
|
"path": "namespace"
|
|
}]
|
|
}
|
|
}]
|
|
}
|
|
}]
|
|
},
|
|
"status": {
|
|
"conditions": [{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T14:05:27Z",
|
|
"status": "True",
|
|
"type": "Initialized"
|
|
}, {
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T14:05:29Z",
|
|
"status": "True",
|
|
"type": "Ready"
|
|
}, {
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T14:05:29Z",
|
|
"status": "True",
|
|
"type": "ContainersReady"
|
|
}, {
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T14:05:27Z",
|
|
"status": "True",
|
|
"type": "PodScheduled"
|
|
}],
|
|
"containerStatuses": [{
|
|
"containerID": "cri-o://7440befbf81dcc4d99d671c1e18767cae488589b82231d45d10d2d6cfdcbffd5",
|
|
"image": "kmaster.ti.unibw-hamburg.de:30808/movementimage:latest",
|
|
"imageID": "kmaster.ti.unibw-hamburg.de:30808/movementimage@sha256:b40bd0944a21bc748b5fc077ea13cbe446a00f37a0cf0d4c9d4dd35ac568e3da",
|
|
"lastState": {},
|
|
"name": "1ef9f27f-3f7f-41b7-add2-887f96e718ef-container",
|
|
"ready": true,
|
|
"restartCount": 0,
|
|
"started": true,
|
|
"state": {
|
|
"running": {
|
|
"startedAt": "2023-08-14T14:05:28Z"
|
|
}
|
|
}
|
|
}],
|
|
"hostIP": "192.168.252.8",
|
|
"phase": "Running",
|
|
"podIP": "10.0.3.186",
|
|
"podIPs": [{
|
|
"ip": "10.0.3.186"
|
|
}],
|
|
"qosClass": "BestEffort",
|
|
"startTime": "2023-08-14T14:05:27Z"
|
|
}
|
|
}, {
|
|
"metadata": {
|
|
"creationTimestamp": "2023-08-14T12:47:02Z",
|
|
"labels": {
|
|
"app.kubernetes.io/component": "movementcalculation",
|
|
"app.kubernetes.io/name": "6540be84-e679-4a8e-9d3f-88c153a880de"
|
|
},
|
|
"managedFields": [{
|
|
"apiVersion": "v1",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:metadata": {
|
|
"f:labels": {
|
|
".": {},
|
|
"f:app.kubernetes.io/component": {},
|
|
"f:app.kubernetes.io/name": {}
|
|
}
|
|
},
|
|
"f:spec": {
|
|
"f:containers": {
|
|
"k:{\"name\":\"6540be84-e679-4a8e-9d3f-88c153a880de-container\"}": {
|
|
".": {},
|
|
"f:env": {
|
|
".": {},
|
|
"k:{\"name\":\"SERVER_IP\"}": {
|
|
".": {},
|
|
"f:name": {},
|
|
"f:value": {}
|
|
}
|
|
},
|
|
"f:image": {},
|
|
"f:imagePullPolicy": {},
|
|
"f:name": {},
|
|
"f:resources": {},
|
|
"f:terminationMessagePath": {},
|
|
"f:terminationMessagePolicy": {}
|
|
}
|
|
},
|
|
"f:dnsPolicy": {},
|
|
"f:enableServiceLinks": {},
|
|
"f:restartPolicy": {},
|
|
"f:schedulerName": {},
|
|
"f:securityContext": {},
|
|
"f:terminationGracePeriodSeconds": {}
|
|
}
|
|
},
|
|
"manager": "unknown",
|
|
"operation": "Update",
|
|
"time": "2023-08-14T12:47:02Z"
|
|
}, {
|
|
"apiVersion": "v1",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:status": {
|
|
"f:conditions": {
|
|
"k:{\"type\":\"ContainersReady\"}": {
|
|
".": {},
|
|
"f:lastProbeTime": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
},
|
|
"k:{\"type\":\"Initialized\"}": {
|
|
".": {},
|
|
"f:lastProbeTime": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
},
|
|
"k:{\"type\":\"Ready\"}": {
|
|
".": {},
|
|
"f:lastProbeTime": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
}
|
|
},
|
|
"f:containerStatuses": {},
|
|
"f:hostIP": {},
|
|
"f:phase": {},
|
|
"f:podIP": {},
|
|
"f:podIPs": {
|
|
".": {},
|
|
"k:{\"ip\":\"10.0.3.180\"}": {
|
|
".": {},
|
|
"f:ip": {}
|
|
}
|
|
},
|
|
"f:startTime": {}
|
|
}
|
|
},
|
|
"manager": "kubelet",
|
|
"operation": "Update",
|
|
"subresource": "status",
|
|
"time": "2023-08-14T12:47:03Z"
|
|
}],
|
|
"name": "6540be84-e679-4a8e-9d3f-88c153a880de",
|
|
"namespace": "hwinkel",
|
|
"resourceVersion": "172359605",
|
|
"uid": "819b44c6-450a-45b1-8655-c20fd754e82c"
|
|
},
|
|
"spec": {
|
|
"containers": [{
|
|
"env": [{
|
|
"name": "SERVER_IP",
|
|
"value": "10.0.3.249"
|
|
}],
|
|
"image": "kmaster.ti.unibw-hamburg.de:30808/movementimage:latest",
|
|
"imagePullPolicy": "Always",
|
|
"name": "6540be84-e679-4a8e-9d3f-88c153a880de-container",
|
|
"resources": {},
|
|
"terminationMessagePath": "/dev/termination-log",
|
|
"terminationMessagePolicy": "File",
|
|
"volumeMounts": [{
|
|
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
|
"name": "kube-api-access-d2vlw",
|
|
"readOnly": true
|
|
}]
|
|
}],
|
|
"dnsPolicy": "ClusterFirst",
|
|
"enableServiceLinks": true,
|
|
"nodeName": "kslave02.ti.unibw-hamburg.de",
|
|
"preemptionPolicy": "PreemptLowerPriority",
|
|
"priority": 0,
|
|
"restartPolicy": "Never",
|
|
"schedulerName": "default-scheduler",
|
|
"securityContext": {},
|
|
"serviceAccount": "default",
|
|
"serviceAccountName": "default",
|
|
"terminationGracePeriodSeconds": 30,
|
|
"tolerations": [{
|
|
"effect": "NoExecute",
|
|
"key": "node.kubernetes.io/not-ready",
|
|
"operator": "Exists",
|
|
"tolerationSeconds": 300
|
|
}, {
|
|
"effect": "NoExecute",
|
|
"key": "node.kubernetes.io/unreachable",
|
|
"operator": "Exists",
|
|
"tolerationSeconds": 300
|
|
}],
|
|
"volumes": [{
|
|
"name": "kube-api-access-d2vlw",
|
|
"projected": {
|
|
"defaultMode": 420,
|
|
"sources": [{
|
|
"serviceAccountToken": {
|
|
"expirationSeconds": 3607,
|
|
"path": "token"
|
|
}
|
|
}, {
|
|
"configMap": {
|
|
"items": [{
|
|
"key": "ca.crt",
|
|
"path": "ca.crt"
|
|
}],
|
|
"name": "kube-root-ca.crt"
|
|
}
|
|
}, {
|
|
"downwardAPI": {
|
|
"items": [{
|
|
"fieldRef": {
|
|
"apiVersion": "v1",
|
|
"fieldPath": "metadata.namespace"
|
|
},
|
|
"path": "namespace"
|
|
}]
|
|
}
|
|
}]
|
|
}
|
|
}]
|
|
},
|
|
"status": {
|
|
"conditions": [{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T12:47:02Z",
|
|
"status": "True",
|
|
"type": "Initialized"
|
|
}, {
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T12:47:03Z",
|
|
"status": "True",
|
|
"type": "Ready"
|
|
}, {
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T12:47:03Z",
|
|
"status": "True",
|
|
"type": "ContainersReady"
|
|
}, {
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T12:47:02Z",
|
|
"status": "True",
|
|
"type": "PodScheduled"
|
|
}],
|
|
"containerStatuses": [{
|
|
"containerID": "cri-o://a37194d7e802a93e8586e2b8211a3f493c11a16fe02c9bff3b3509c0c15d584a",
|
|
"image": "kmaster.ti.unibw-hamburg.de:30808/movementimage:latest",
|
|
"imageID": "kmaster.ti.unibw-hamburg.de:30808/movementimage@sha256:b40bd0944a21bc748b5fc077ea13cbe446a00f37a0cf0d4c9d4dd35ac568e3da",
|
|
"lastState": {},
|
|
"name": "6540be84-e679-4a8e-9d3f-88c153a880de-container",
|
|
"ready": true,
|
|
"restartCount": 0,
|
|
"started": true,
|
|
"state": {
|
|
"running": {
|
|
"startedAt": "2023-08-14T12:47:03Z"
|
|
}
|
|
}
|
|
}],
|
|
"hostIP": "192.168.252.8",
|
|
"phase": "Running",
|
|
"podIP": "10.0.3.180",
|
|
"podIPs": [{
|
|
"ip": "10.0.3.180"
|
|
}],
|
|
"qosClass": "BestEffort",
|
|
"startTime": "2023-08-14T12:47:02Z"
|
|
}
|
|
}, {
|
|
"metadata": {
|
|
"creationTimestamp": "2023-08-14T13:45:57Z",
|
|
"labels": {
|
|
"app.kubernetes.io/component": "movementcalculation",
|
|
"app.kubernetes.io/name": "b30c0114-194e-45b9-a6f1-b8911dfee811"
|
|
},
|
|
"managedFields": [{
|
|
"apiVersion": "v1",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:metadata": {
|
|
"f:labels": {
|
|
".": {},
|
|
"f:app.kubernetes.io/component": {},
|
|
"f:app.kubernetes.io/name": {}
|
|
}
|
|
},
|
|
"f:spec": {
|
|
"f:containers": {
|
|
"k:{\"name\":\"b30c0114-194e-45b9-a6f1-b8911dfee811-container\"}": {
|
|
".": {},
|
|
"f:env": {
|
|
".": {},
|
|
"k:{\"name\":\"SERVER_IP\"}": {
|
|
".": {},
|
|
"f:name": {},
|
|
"f:value": {}
|
|
}
|
|
},
|
|
"f:image": {},
|
|
"f:imagePullPolicy": {},
|
|
"f:name": {},
|
|
"f:resources": {},
|
|
"f:terminationMessagePath": {},
|
|
"f:terminationMessagePolicy": {}
|
|
}
|
|
},
|
|
"f:dnsPolicy": {},
|
|
"f:enableServiceLinks": {},
|
|
"f:restartPolicy": {},
|
|
"f:schedulerName": {},
|
|
"f:securityContext": {},
|
|
"f:terminationGracePeriodSeconds": {}
|
|
}
|
|
},
|
|
"manager": "unknown",
|
|
"operation": "Update",
|
|
"time": "2023-08-14T13:45:57Z"
|
|
}, {
|
|
"apiVersion": "v1",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:status": {
|
|
"f:conditions": {
|
|
"k:{\"type\":\"ContainersReady\"}": {
|
|
".": {},
|
|
"f:lastProbeTime": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
},
|
|
"k:{\"type\":\"Initialized\"}": {
|
|
".": {},
|
|
"f:lastProbeTime": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
},
|
|
"k:{\"type\":\"Ready\"}": {
|
|
".": {},
|
|
"f:lastProbeTime": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
}
|
|
},
|
|
"f:containerStatuses": {},
|
|
"f:hostIP": {},
|
|
"f:phase": {},
|
|
"f:podIP": {},
|
|
"f:podIPs": {
|
|
".": {},
|
|
"k:{\"ip\":\"10.0.3.107\"}": {
|
|
".": {},
|
|
"f:ip": {}
|
|
}
|
|
},
|
|
"f:startTime": {}
|
|
}
|
|
},
|
|
"manager": "kubelet",
|
|
"operation": "Update",
|
|
"subresource": "status",
|
|
"time": "2023-08-14T13:45:59Z"
|
|
}],
|
|
"name": "b30c0114-194e-45b9-a6f1-b8911dfee811",
|
|
"namespace": "hwinkel",
|
|
"resourceVersion": "172368067",
|
|
"uid": "c0d7c022-e875-4f0f-8317-13de0ea063de"
|
|
},
|
|
"spec": {
|
|
"containers": [{
|
|
"env": [{
|
|
"name": "SERVER_IP",
|
|
"value": "10.0.3.216"
|
|
}],
|
|
"image": "kmaster.ti.unibw-hamburg.de:30808/movementimage:latest",
|
|
"imagePullPolicy": "Always",
|
|
"name": "b30c0114-194e-45b9-a6f1-b8911dfee811-container",
|
|
"resources": {},
|
|
"terminationMessagePath": "/dev/termination-log",
|
|
"terminationMessagePolicy": "File",
|
|
"volumeMounts": [{
|
|
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
|
"name": "kube-api-access-6fjct",
|
|
"readOnly": true
|
|
}]
|
|
}],
|
|
"dnsPolicy": "ClusterFirst",
|
|
"enableServiceLinks": true,
|
|
"nodeName": "kslave02.ti.unibw-hamburg.de",
|
|
"preemptionPolicy": "PreemptLowerPriority",
|
|
"priority": 0,
|
|
"restartPolicy": "Never",
|
|
"schedulerName": "default-scheduler",
|
|
"securityContext": {},
|
|
"serviceAccount": "default",
|
|
"serviceAccountName": "default",
|
|
"terminationGracePeriodSeconds": 30,
|
|
"tolerations": [{
|
|
"effect": "NoExecute",
|
|
"key": "node.kubernetes.io/not-ready",
|
|
"operator": "Exists",
|
|
"tolerationSeconds": 300
|
|
}, {
|
|
"effect": "NoExecute",
|
|
"key": "node.kubernetes.io/unreachable",
|
|
"operator": "Exists",
|
|
"tolerationSeconds": 300
|
|
}],
|
|
"volumes": [{
|
|
"name": "kube-api-access-6fjct",
|
|
"projected": {
|
|
"defaultMode": 420,
|
|
"sources": [{
|
|
"serviceAccountToken": {
|
|
"expirationSeconds": 3607,
|
|
"path": "token"
|
|
}
|
|
}, {
|
|
"configMap": {
|
|
"items": [{
|
|
"key": "ca.crt",
|
|
"path": "ca.crt"
|
|
}],
|
|
"name": "kube-root-ca.crt"
|
|
}
|
|
}, {
|
|
"downwardAPI": {
|
|
"items": [{
|
|
"fieldRef": {
|
|
"apiVersion": "v1",
|
|
"fieldPath": "metadata.namespace"
|
|
},
|
|
"path": "namespace"
|
|
}]
|
|
}
|
|
}]
|
|
}
|
|
}]
|
|
},
|
|
"status": {
|
|
"conditions": [{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T13:45:57Z",
|
|
"status": "True",
|
|
"type": "Initialized"
|
|
}, {
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T13:45:59Z",
|
|
"status": "True",
|
|
"type": "Ready"
|
|
}, {
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T13:45:59Z",
|
|
"status": "True",
|
|
"type": "ContainersReady"
|
|
}, {
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T13:45:57Z",
|
|
"status": "True",
|
|
"type": "PodScheduled"
|
|
}],
|
|
"containerStatuses": [{
|
|
"containerID": "cri-o://d45b863e3026bf5e1c9c69be502ebc28f48997f733949ca55c1a93789198fc0a",
|
|
"image": "kmaster.ti.unibw-hamburg.de:30808/movementimage:latest",
|
|
"imageID": "kmaster.ti.unibw-hamburg.de:30808/movementimage@sha256:b40bd0944a21bc748b5fc077ea13cbe446a00f37a0cf0d4c9d4dd35ac568e3da",
|
|
"lastState": {},
|
|
"name": "b30c0114-194e-45b9-a6f1-b8911dfee811-container",
|
|
"ready": true,
|
|
"restartCount": 0,
|
|
"started": true,
|
|
"state": {
|
|
"running": {
|
|
"startedAt": "2023-08-14T13:45:58Z"
|
|
}
|
|
}
|
|
}],
|
|
"hostIP": "192.168.252.8",
|
|
"phase": "Running",
|
|
"podIP": "10.0.3.107",
|
|
"podIPs": [{
|
|
"ip": "10.0.3.107"
|
|
}],
|
|
"qosClass": "BestEffort",
|
|
"startTime": "2023-08-14T13:45:57Z"
|
|
}
|
|
}, {
|
|
"metadata": {
|
|
"creationTimestamp": "2023-08-14T14:27:25Z",
|
|
"deletionGracePeriodSeconds": 30,
|
|
"deletionTimestamp": "2023-08-14T14:28:01Z",
|
|
"labels": {
|
|
"app.kubernetes.io/name": "hamburg"
|
|
},
|
|
"managedFields": [{
|
|
"apiVersion": "v1",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:metadata": {
|
|
"f:labels": {
|
|
".": {},
|
|
"f:app.kubernetes.io/name": {}
|
|
}
|
|
},
|
|
"f:spec": {
|
|
"f:containers": {
|
|
"k:{\"name\":\"hamburg-container\"}": {
|
|
".": {},
|
|
"f:env": {
|
|
".": {},
|
|
"k:{\"name\":\"COMMAND_PORT\"}": {
|
|
".": {},
|
|
"f:name": {},
|
|
"f:value": {}
|
|
},
|
|
"k:{\"name\":\"ENTITY_ID\"}": {
|
|
".": {},
|
|
"f:name": {},
|
|
"f:value": {}
|
|
},
|
|
"k:{\"name\":\"ENTITY_NAME\"}": {
|
|
".": {},
|
|
"f:name": {},
|
|
"f:value": {}
|
|
},
|
|
"k:{\"name\":\"GROUNDTRUTH_PORT\"}": {
|
|
".": {},
|
|
"f:name": {},
|
|
"f:value": {}
|
|
},
|
|
"k:{\"name\":\"POS_HEIGHT\"}": {
|
|
".": {},
|
|
"f:name": {},
|
|
"f:value": {}
|
|
},
|
|
"k:{\"name\":\"POS_LAT\"}": {
|
|
".": {},
|
|
"f:name": {},
|
|
"f:value": {}
|
|
},
|
|
"k:{\"name\":\"POS_LONG\"}": {
|
|
".": {},
|
|
"f:name": {},
|
|
"f:value": {}
|
|
}
|
|
},
|
|
"f:image": {},
|
|
"f:imagePullPolicy": {},
|
|
"f:name": {},
|
|
"f:resources": {},
|
|
"f:terminationMessagePath": {},
|
|
"f:terminationMessagePolicy": {}
|
|
}
|
|
},
|
|
"f:dnsPolicy": {},
|
|
"f:enableServiceLinks": {},
|
|
"f:restartPolicy": {},
|
|
"f:schedulerName": {},
|
|
"f:securityContext": {},
|
|
"f:terminationGracePeriodSeconds": {}
|
|
}
|
|
},
|
|
"manager": "unknown",
|
|
"operation": "Update",
|
|
"time": "2023-08-14T14:27:25Z"
|
|
}, {
|
|
"apiVersion": "v1",
|
|
"fieldsType": "FieldsV1",
|
|
"fieldsV1": {
|
|
"f:status": {
|
|
"f:conditions": {
|
|
"k:{\"type\":\"ContainersReady\"}": {
|
|
".": {},
|
|
"f:lastProbeTime": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
},
|
|
"k:{\"type\":\"Initialized\"}": {
|
|
".": {},
|
|
"f:lastProbeTime": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
},
|
|
"k:{\"type\":\"Ready\"}": {
|
|
".": {},
|
|
"f:lastProbeTime": {},
|
|
"f:lastTransitionTime": {},
|
|
"f:status": {},
|
|
"f:type": {}
|
|
}
|
|
},
|
|
"f:containerStatuses": {},
|
|
"f:hostIP": {},
|
|
"f:phase": {},
|
|
"f:podIP": {},
|
|
"f:podIPs": {
|
|
".": {},
|
|
"k:{\"ip\":\"10.0.3.115\"}": {
|
|
".": {},
|
|
"f:ip": {}
|
|
}
|
|
},
|
|
"f:startTime": {}
|
|
}
|
|
},
|
|
"manager": "kubelet",
|
|
"operation": "Update",
|
|
"subresource": "status",
|
|
"time": "2023-08-14T14:27:27Z"
|
|
}],
|
|
"name": "ship1",
|
|
"namespace": "hwinkel",
|
|
"resourceVersion": "172374050",
|
|
"uid": "00154fa1-0c7b-45b8-8bcf-330cbb35d6c4"
|
|
},
|
|
"spec": {
|
|
"containers": [{
|
|
"env": [{
|
|
"name": "COMMAND_PORT",
|
|
"value": "\"5555\""
|
|
}, {
|
|
"name": "ENTITY_ID",
|
|
"value": "ship1"
|
|
}, {
|
|
"name": "ENTITY_NAME",
|
|
"value": "hamburg"
|
|
}, {
|
|
"name": "GROUNDTRUTH_PORT",
|
|
"value": "\"8000\""
|
|
}, {
|
|
"name": "POS_HEIGHT",
|
|
"value": "\"0\""
|
|
}, {
|
|
"name": "POS_LAT",
|
|
"value": "\"55\""
|
|
}, {
|
|
"name": "POS_LONG",
|
|
"value": "\"8\""
|
|
}],
|
|
"image": "kmaster.ti.unibw-hamburg.de:30808/ship:latest",
|
|
"imagePullPolicy": "Always",
|
|
"name": "hamburg-container",
|
|
"resources": {},
|
|
"terminationMessagePath": "/dev/termination-log",
|
|
"terminationMessagePolicy": "File",
|
|
"volumeMounts": [{
|
|
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
|
|
"name": "kube-api-access-64485",
|
|
"readOnly": true
|
|
}]
|
|
}],
|
|
"dnsPolicy": "ClusterFirst",
|
|
"enableServiceLinks": true,
|
|
"nodeName": "kslave02.ti.unibw-hamburg.de",
|
|
"preemptionPolicy": "PreemptLowerPriority",
|
|
"priority": 0,
|
|
"restartPolicy": "Never",
|
|
"schedulerName": "default-scheduler",
|
|
"securityContext": {},
|
|
"serviceAccount": "default",
|
|
"serviceAccountName": "default",
|
|
"terminationGracePeriodSeconds": 30,
|
|
"tolerations": [{
|
|
"effect": "NoExecute",
|
|
"key": "node.kubernetes.io/not-ready",
|
|
"operator": "Exists",
|
|
"tolerationSeconds": 300
|
|
}, {
|
|
"effect": "NoExecute",
|
|
"key": "node.kubernetes.io/unreachable",
|
|
"operator": "Exists",
|
|
"tolerationSeconds": 300
|
|
}],
|
|
"volumes": [{
|
|
"name": "kube-api-access-64485",
|
|
"projected": {
|
|
"defaultMode": 420,
|
|
"sources": [{
|
|
"serviceAccountToken": {
|
|
"expirationSeconds": 3607,
|
|
"path": "token"
|
|
}
|
|
}, {
|
|
"configMap": {
|
|
"items": [{
|
|
"key": "ca.crt",
|
|
"path": "ca.crt"
|
|
}],
|
|
"name": "kube-root-ca.crt"
|
|
}
|
|
}, {
|
|
"downwardAPI": {
|
|
"items": [{
|
|
"fieldRef": {
|
|
"apiVersion": "v1",
|
|
"fieldPath": "metadata.namespace"
|
|
},
|
|
"path": "namespace"
|
|
}]
|
|
}
|
|
}]
|
|
}
|
|
}]
|
|
},
|
|
"status": {
|
|
"conditions": [{
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T14:27:25Z",
|
|
"status": "True",
|
|
"type": "Initialized"
|
|
}, {
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T14:27:27Z",
|
|
"status": "True",
|
|
"type": "Ready"
|
|
}, {
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T14:27:27Z",
|
|
"status": "True",
|
|
"type": "ContainersReady"
|
|
}, {
|
|
"lastProbeTime": null,
|
|
"lastTransitionTime": "2023-08-14T14:27:25Z",
|
|
"status": "True",
|
|
"type": "PodScheduled"
|
|
}],
|
|
"containerStatuses": [{
|
|
"containerID": "cri-o://aaa67dbe8acbf6841d115e790c04b9aff9131314f9e93943fb5505ef33c479ce",
|
|
"image": "kmaster.ti.unibw-hamburg.de:30808/ship:latest",
|
|
"imageID": "kmaster.ti.unibw-hamburg.de:30808/ship@sha256:842cf35f29e1e8139a990b02ec7d64195307f789e03e52e7fb3b8c9cfb13ded5",
|
|
"lastState": {},
|
|
"name": "hamburg-container",
|
|
"ready": true,
|
|
"restartCount": 0,
|
|
"started": true,
|
|
"state": {
|
|
"running": {
|
|
"startedAt": "2023-08-14T14:27:26Z"
|
|
}
|
|
}
|
|
}],
|
|
"hostIP": "192.168.252.8",
|
|
"phase": "Running",
|
|
"podIP": "10.0.3.115",
|
|
"podIPs": [{
|
|
"ip": "10.0.3.115"
|
|
}],
|
|
"qosClass": "BestEffort",
|
|
"startTime": "2023-08-14T14:27:25Z"
|
|
}
|
|
}],
|
|
"kind": "PodList",
|
|
"metadata": {
|
|
"resourceVersion": "172374124"
|
|
}
|
|
})"; |