ADD: add a simple working version of a pod controler class
This commit is contained in:
99
docs/test.json
Normal file
99
docs/test.json
Normal file
@@ -0,0 +1,99 @@
|
||||
{"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"v1\",\"kind\":\"Pod\",\"metadata\":{\"annotations\":{},\"labels\":{\"app.kubernetes.io/name\":\"plaindebian\"},\"name\":\"debug-debian\",\"namespace\":\"hwinkel\"},\"spec\":{\"containers\":[{\"args\":[\"-c\",\"while true; do echo hello; sleep 5;done\"],\"command\":[\"/bin/sh\"],\"env\":[{\"name\":\"OWN_SHIP_SERVER\",\"value\":\"127.0.0.1\"}],\"image\":\"kmaster.ti.unibw-hamburg.de:30808/debugdebianhenry:0.1.2\",\"name\":\"debug-debian-container\"}],\"restartPolicy\":\"Never\"}}\n"},
|
||||
"creationTimestamp":"2023-08-07T09:01:18Z",
|
||||
"labels":{"app.kubernetes.io/name":"plaindebian"},
|
||||
"managedFields":[
|
||||
{"apiVersion":"v1",
|
||||
"fieldsType":"FieldsV1",
|
||||
"fieldsV1":{
|
||||
"f:metadata":{
|
||||
"f:annotations":{
|
||||
".":{},
|
||||
"f:kubectl.kubernetes.io/last-applied-configuration":{}
|
||||
},
|
||||
"f:labels":{
|
||||
".":{},
|
||||
"f:app.kubernetes.io/name":{}
|
||||
}
|
||||
},
|
||||
"f:spec":{
|
||||
"f:containers":{
|
||||
"k:{\"name\":\"debug-debian-container\"}":{
|
||||
".":{},
|
||||
"f:args":{},
|
||||
"f:command":{},
|
||||
"f:env":{
|
||||
".":{},
|
||||
"k:{\"name\":\"OWN_SHIP_SERVER\"}":{
|
||||
".":{},"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":"kubectl-client-side-apply",
|
||||
"operation":"Update",
|
||||
"time":"2023-08-07T09:01:18Z"
|
||||
},
|
||||
{"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.70\"}":{
|
||||
".":{},
|
||||
"f:ip":{}
|
||||
}
|
||||
},
|
||||
"f:startTime":{}
|
||||
}
|
||||
},
|
||||
"manager":"kubelet",
|
||||
"operation":"Update",
|
||||
"subresource":"status",
|
||||
"time":"2023-08-07T09:01:20Z"}
|
||||
],
|
||||
"name":"debug-debian",
|
||||
"namespace":"hwinkel",
|
||||
"resourceVersion":"170886884",
|
||||
"uid":"f9df752e-2404-433f-b377-6e03721a5044"}
|
||||
Reference in New Issue
Block a user