Created
August 20, 2020 16:13
-
-
Save zubron/962f87e8d4e226b77ca08f456f866166 to your computer and use it in GitHub Desktop.
Sample JSON report from the Cluster Inventory Sonobuoy plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ClusterComponents": { | |
"Nodes": { | |
"Nodes": [ | |
{ | |
"metadata": { | |
"name": "kind-control-plane", | |
"selfLink": "/api/v1/nodes/kind-control-plane", | |
"uid": "3739d857-e2f5-4e82-888a-7fa388acf028", | |
"resourceVersion": "791568", | |
"creationTimestamp": "2020-08-17T12:23:15Z", | |
"labels": { | |
"beta.kubernetes.io/arch": "amd64", | |
"beta.kubernetes.io/os": "linux", | |
"kubernetes.io/arch": "amd64", | |
"kubernetes.io/hostname": "kind-control-plane", | |
"kubernetes.io/os": "linux", | |
"node-role.kubernetes.io/master": "" | |
}, | |
"annotations": { | |
"kubeadm.alpha.kubernetes.io/cri-socket": "/run/containerd/containerd.sock", | |
"node.alpha.kubernetes.io/ttl": "0", | |
"volumes.kubernetes.io/controller-managed-attach-detach": "true" | |
}, | |
"managedFields": [ | |
{ | |
"manager": "kubeadm", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-17T12:23:17Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
"f:kubeadm.alpha.kubernetes.io/cri-socket": {} | |
}, | |
"f:labels": { | |
"f:node-role.kubernetes.io/master": {} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-17T12:23:35Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
"f:node.alpha.kubernetes.io/ttl": {} | |
} | |
}, | |
"f:spec": { | |
"f:podCIDR": {}, | |
"f:podCIDRs": { | |
".": {}, | |
"v:\"10.244.0.0/24\"": {} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T15:35:34Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:volumes.kubernetes.io/controller-managed-attach-detach": {} | |
}, | |
"f:labels": { | |
".": {}, | |
"f:beta.kubernetes.io/arch": {}, | |
"f:beta.kubernetes.io/os": {}, | |
"f:kubernetes.io/arch": {}, | |
"f:kubernetes.io/hostname": {}, | |
"f:kubernetes.io/os": {} | |
} | |
}, | |
"f:status": { | |
"f:addresses": { | |
".": {}, | |
"k:{\"type\":\"Hostname\"}": { | |
".": {}, | |
"f:address": {}, | |
"f:type": {} | |
}, | |
"k:{\"type\":\"InternalIP\"}": { | |
".": {}, | |
"f:address": {}, | |
"f:type": {} | |
} | |
}, | |
"f:allocatable": { | |
".": {}, | |
"f:cpu": {}, | |
"f:ephemeral-storage": {}, | |
"f:hugepages-1Gi": {}, | |
"f:hugepages-2Mi": {}, | |
"f:memory": {}, | |
"f:pods": {} | |
}, | |
"f:capacity": { | |
".": {}, | |
"f:cpu": {}, | |
"f:ephemeral-storage": {}, | |
"f:hugepages-1Gi": {}, | |
"f:hugepages-2Mi": {}, | |
"f:memory": {}, | |
"f:pods": {} | |
}, | |
"f:conditions": { | |
".": {}, | |
"k:{\"type\":\"DiskPressure\"}": { | |
".": {}, | |
"f:lastHeartbeatTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:message": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
}, | |
"k:{\"type\":\"MemoryPressure\"}": { | |
".": {}, | |
"f:lastHeartbeatTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:message": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
}, | |
"k:{\"type\":\"PIDPressure\"}": { | |
".": {}, | |
"f:lastHeartbeatTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:message": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
}, | |
"k:{\"type\":\"Ready\"}": { | |
".": {}, | |
"f:lastHeartbeatTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:message": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
} | |
}, | |
"f:daemonEndpoints": { | |
"f:kubeletEndpoint": { | |
"f:Port": {} | |
} | |
}, | |
"f:images": {}, | |
"f:nodeInfo": { | |
"f:architecture": {}, | |
"f:bootID": {}, | |
"f:containerRuntimeVersion": {}, | |
"f:kernelVersion": {}, | |
"f:kubeProxyVersion": {}, | |
"f:kubeletVersion": {}, | |
"f:machineID": {}, | |
"f:operatingSystem": {}, | |
"f:osImage": {}, | |
"f:systemUUID": {} | |
} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"podCIDR": "10.244.0.0/24", | |
"podCIDRs": [ | |
"10.244.0.0/24" | |
] | |
}, | |
"status": { | |
"capacity": { | |
"cpu": "12", | |
"ephemeral-storage": "721655784Ki", | |
"hugepages-1Gi": "0", | |
"hugepages-2Mi": "0", | |
"memory": "32509788Ki", | |
"pods": "110" | |
}, | |
"allocatable": { | |
"cpu": "12", | |
"ephemeral-storage": "721655784Ki", | |
"hugepages-1Gi": "0", | |
"hugepages-2Mi": "0", | |
"memory": "32509788Ki", | |
"pods": "110" | |
}, | |
"conditions": [ | |
{ | |
"type": "MemoryPressure", | |
"status": "False", | |
"lastHeartbeatTime": "2020-08-20T15:35:34Z", | |
"lastTransitionTime": "2020-08-17T12:23:11Z", | |
"reason": "KubeletHasSufficientMemory", | |
"message": "kubelet has sufficient memory available" | |
}, | |
{ | |
"type": "DiskPressure", | |
"status": "False", | |
"lastHeartbeatTime": "2020-08-20T15:35:34Z", | |
"lastTransitionTime": "2020-08-17T12:23:11Z", | |
"reason": "KubeletHasNoDiskPressure", | |
"message": "kubelet has no disk pressure" | |
}, | |
{ | |
"type": "PIDPressure", | |
"status": "False", | |
"lastHeartbeatTime": "2020-08-20T15:35:34Z", | |
"lastTransitionTime": "2020-08-17T12:23:11Z", | |
"reason": "KubeletHasSufficientPID", | |
"message": "kubelet has sufficient PID available" | |
}, | |
{ | |
"type": "Ready", | |
"status": "True", | |
"lastHeartbeatTime": "2020-08-20T15:35:34Z", | |
"lastTransitionTime": "2020-08-17T12:23:44Z", | |
"reason": "KubeletReady", | |
"message": "kubelet is posting ready status" | |
} | |
], | |
"addresses": [ | |
{ | |
"type": "InternalIP", | |
"address": "172.18.0.2" | |
}, | |
{ | |
"type": "Hostname", | |
"address": "kind-control-plane" | |
} | |
], | |
"daemonEndpoints": { | |
"kubeletEndpoint": { | |
"Port": 10250 | |
} | |
}, | |
"nodeInfo": { | |
"machineID": "18dbfcc52e00429281751a30f56e2a85", | |
"systemUUID": "2476db0e-27e9-4cfe-a902-73dc0b842cf2", | |
"bootID": "55930d48-f800-4caf-ba4f-30b19856b80e", | |
"kernelVersion": "5.4.0-42-generic", | |
"osImage": "Ubuntu 19.10", | |
"containerRuntimeVersion": "containerd://1.3.3-14-g449e9269", | |
"kubeletVersion": "v1.18.2", | |
"kubeProxyVersion": "v1.18.2", | |
"operatingSystem": "linux", | |
"architecture": "amd64" | |
}, | |
"images": [ | |
{ | |
"names": [ | |
"k8s.gcr.io/etcd:3.4.3-0" | |
], | |
"sizeBytes": 289997247 | |
}, | |
{ | |
"names": [ | |
"k8s.gcr.io/kube-apiserver:v1.18.2" | |
], | |
"sizeBytes": 146648881 | |
}, | |
{ | |
"names": [ | |
"k8s.gcr.io/kube-proxy:v1.18.2" | |
], | |
"sizeBytes": 132860030 | |
}, | |
{ | |
"names": [ | |
"k8s.gcr.io/kube-controller-manager:v1.18.2" | |
], | |
"sizeBytes": 132826435 | |
}, | |
{ | |
"names": [ | |
"docker.io/kindest/kindnetd:0.5.4" | |
], | |
"sizeBytes": 113207016 | |
}, | |
{ | |
"names": [ | |
"k8s.gcr.io/kube-scheduler:v1.18.2" | |
], | |
"sizeBytes": 113095985 | |
}, | |
{ | |
"names": null, | |
"sizeBytes": 65380946 | |
}, | |
{ | |
"names": [ | |
"docker.io/zubron/cluster-inventory:v0.0.1" | |
], | |
"sizeBytes": 65372242 | |
}, | |
{ | |
"names": [ | |
"docker.io/sonobuoy/cluster-inventory:v0.0.1" | |
], | |
"sizeBytes": 65362514 | |
}, | |
{ | |
"names": [ | |
"k8s.gcr.io/debian-base:v2.0.0" | |
], | |
"sizeBytes": 53884301 | |
}, | |
{ | |
"names": [ | |
"docker.io/library/nginx@sha256:b0ad43f7ee5edbc0effbc14645ae7055e21bc1973aee5150745632a24a752661", | |
"docker.io/library/nginx:latest" | |
], | |
"sizeBytes": 53506397 | |
}, | |
{ | |
"names": [ | |
"k8s.gcr.io/nginx-slim:0.8" | |
], | |
"sizeBytes": 50776894 | |
}, | |
{ | |
"names": [ | |
"k8s.gcr.io/coredns:1.6.7" | |
], | |
"sizeBytes": 43921887 | |
}, | |
{ | |
"names": [ | |
"docker.io/zubron/cluster-inventory@sha256:bb544be569e4b7802e62c4e7267e2d166623661db726ef0bb3bad6666ae8216e" | |
], | |
"sizeBytes": 42898657 | |
}, | |
{ | |
"names": [ | |
"docker.io/rancher/local-path-provisioner:v0.0.12" | |
], | |
"sizeBytes": 41994847 | |
}, | |
{ | |
"names": [ | |
"docker.io/sonobuoy/sonobuoy@sha256:929e6fd1b05721cedc873e6d3a886228bcfd517bde6b961f33b24e1401f8af9d", | |
"docker.io/sonobuoy/sonobuoy:v0.18.4" | |
], | |
"sizeBytes": 32773375 | |
}, | |
{ | |
"names": [ | |
"docker.io/sonobuoy/sonobuoy@sha256:56d485a915192799faaa7765d1f50c68a06d8663b7afeb665b9d13c510910d68", | |
"docker.io/sonobuoy/sonobuoy:v0.18.0" | |
], | |
"sizeBytes": 32020663 | |
}, | |
{ | |
"names": [ | |
"docker.io/sonobuoy/sonobuoy@sha256:fc3f284f09a043b360a4cad32ba72d9585256e51df7e3f282363d886d7933e47", | |
"docker.io/sonobuoy/sonobuoy:v0.18.1" | |
], | |
"sizeBytes": 31958513 | |
}, | |
{ | |
"names": [ | |
"docker.io/library/busybox@sha256:4f47c01fa91355af2865ac10fef5bf6ec9c7f42ad2321377c21e844427972977", | |
"docker.io/library/busybox:latest" | |
], | |
"sizeBytes": 767890 | |
}, | |
{ | |
"names": [ | |
"k8s.gcr.io/pause:3.2" | |
], | |
"sizeBytes": 685724 | |
} | |
] | |
} | |
} | |
] | |
}, | |
"ControlPlane": { | |
"Provider": "", | |
"IsHA": false, | |
"NumNodes": 1, | |
"AuditLogEnabled": false | |
}, | |
"CNI": { | |
"Name": "kindnet", | |
"CNIVersion": "0.3.1", | |
"DisableCheck": false, | |
"Plugins": [ | |
{ | |
"Network": { | |
"type": "ptp", | |
"ipam": { | |
"type": "host-local" | |
}, | |
"dns": {} | |
}, | |
"Bytes": "eyJpcE1hc3EiOmZhbHNlLCJpcGFtIjp7ImRhdGFEaXIiOiIvcnVuL2NuaS1pcGFtLXN0YXRlIiwicmFuZ2VzIjpbW3sic3VibmV0IjoiMTAuMjQ0LjAuMC8yNCJ9XV0sInJvdXRlcyI6W3siZHN0IjoiMC4wLjAuMC8wIn1dLCJ0eXBlIjoiaG9zdC1sb2NhbCJ9LCJ0eXBlIjoicHRwIn0=" | |
}, | |
{ | |
"Network": { | |
"type": "portmap", | |
"capabilities": { | |
"portMappings": true | |
}, | |
"ipam": {}, | |
"dns": {} | |
}, | |
"Bytes": "eyJjYXBhYmlsaXRpZXMiOnsicG9ydE1hcHBpbmdzIjp0cnVlfSwidHlwZSI6InBvcnRtYXAifQ==" | |
} | |
], | |
"Bytes": "CnsKCSJjbmlWZXJzaW9uIjogIjAuMy4xIiwKCSJuYW1lIjogImtpbmRuZXQiLAoJInBsdWdpbnMiOiBbCgl7CgkJInR5cGUiOiAicHRwIiwKCQkiaXBNYXNxIjogZmFsc2UsCgkJImlwYW0iOiB7CgkJCSJ0eXBlIjogImhvc3QtbG9jYWwiLAoJCQkiZGF0YURpciI6ICIvcnVuL2NuaS1pcGFtLXN0YXRlIiwKCQkJInJvdXRlcyI6IFsKCQkJCXsKCQkJCQkiZHN0IjogIjAuMC4wLjAvMCIKCQkJCX0KCQkJXSwKCQkJInJhbmdlcyI6IFsKCQkJWwoJCQkJewoJCQkJCSJzdWJuZXQiOiAiMTAuMjQ0LjAuMC8yNCIKCQkJCX0KCQkJXQoJCV0KCQl9Cgl9LAoJewoJCSJ0eXBlIjogInBvcnRtYXAiLAoJCSJjYXBhYmlsaXRpZXMiOiB7CgkJCSJwb3J0TWFwcGluZ3MiOiB0cnVlCgkJfQoJfQoJXQp9Cg==" | |
}, | |
"NetworkStatus": { | |
"ExternalDNS": true | |
} | |
}, | |
"Namespaces": [ | |
{ | |
"metadata": { | |
"name": "default", | |
"selfLink": "/api/v1/namespaces/default", | |
"uid": "5bbd7bcb-61a4-4f95-8ea6-d47ff8f6acb0", | |
"resourceVersion": "151", | |
"creationTimestamp": "2020-08-17T12:23:16Z", | |
"managedFields": [ | |
{ | |
"manager": "kube-apiserver", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-17T12:23:16Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:status": { | |
"f:phase": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"finalizers": [ | |
"kubernetes" | |
] | |
}, | |
"status": { | |
"phase": "Active" | |
} | |
}, | |
{ | |
"metadata": { | |
"name": "kube-node-lease", | |
"selfLink": "/api/v1/namespaces/kube-node-lease", | |
"uid": "397dc5d8-e187-4819-8ada-843c2e318396", | |
"resourceVersion": "6", | |
"creationTimestamp": "2020-08-17T12:23:14Z", | |
"managedFields": [ | |
{ | |
"manager": "kube-apiserver", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-17T12:23:14Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:status": { | |
"f:phase": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"finalizers": [ | |
"kubernetes" | |
] | |
}, | |
"status": { | |
"phase": "Active" | |
} | |
}, | |
{ | |
"metadata": { | |
"name": "kube-public", | |
"selfLink": "/api/v1/namespaces/kube-public", | |
"uid": "cb9cc19d-679e-4787-bb13-48787f332558", | |
"resourceVersion": "5", | |
"creationTimestamp": "2020-08-17T12:23:14Z", | |
"managedFields": [ | |
{ | |
"manager": "kube-apiserver", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-17T12:23:14Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:status": { | |
"f:phase": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"finalizers": [ | |
"kubernetes" | |
] | |
}, | |
"status": { | |
"phase": "Active" | |
} | |
}, | |
{ | |
"metadata": { | |
"name": "kube-system", | |
"selfLink": "/api/v1/namespaces/kube-system", | |
"uid": "005a8fb6-9ced-444c-ac62-88baf3c47862", | |
"resourceVersion": "4", | |
"creationTimestamp": "2020-08-17T12:23:14Z", | |
"managedFields": [ | |
{ | |
"manager": "kube-apiserver", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-17T12:23:14Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:status": { | |
"f:phase": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"finalizers": [ | |
"kubernetes" | |
] | |
}, | |
"status": { | |
"phase": "Active" | |
} | |
}, | |
{ | |
"metadata": { | |
"name": "local-path-storage", | |
"selfLink": "/api/v1/namespaces/local-path-storage", | |
"uid": "e1ab17ad-ba37-4e62-8e7c-a8d77e1846c4", | |
"resourceVersion": "208", | |
"creationTimestamp": "2020-08-17T12:23:19Z", | |
"annotations": { | |
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"Namespace\",\"metadata\":{\"annotations\":{},\"name\":\"local-path-storage\"}}\n" | |
}, | |
"managedFields": [ | |
{ | |
"manager": "kubectl", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-17T12:23:19Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:kubectl.kubernetes.io/last-applied-configuration": {} | |
} | |
}, | |
"f:status": { | |
"f:phase": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"finalizers": [ | |
"kubernetes" | |
] | |
}, | |
"status": { | |
"phase": "Active" | |
} | |
}, | |
{ | |
"metadata": { | |
"name": "sonobuoy", | |
"selfLink": "/api/v1/namespaces/sonobuoy", | |
"uid": "636304f5-880f-4da2-a8f6-a869324a7246", | |
"resourceVersion": "791789", | |
"creationTimestamp": "2020-08-20T15:36:48Z", | |
"managedFields": [ | |
{ | |
"manager": "sonobuoy", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T15:36:48Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:status": { | |
"f:phase": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"finalizers": [ | |
"kubernetes" | |
] | |
}, | |
"status": { | |
"phase": "Active" | |
} | |
} | |
], | |
"Workloads": { | |
"default": { | |
"Deployments": {}, | |
"ReplicaSets": {}, | |
"ReplicationControllers": { | |
"nginx": { | |
"metadata": { | |
"name": "nginx", | |
"namespace": "default", | |
"selfLink": "/api/v1/namespaces/default/replicationcontrollers/nginx", | |
"uid": "37056776-eaee-41ed-aafa-c7b154acd5b3", | |
"resourceVersion": "518255", | |
"generation": 1, | |
"creationTimestamp": "2020-08-19T14:38:38Z", | |
"labels": { | |
"app": "nginx" | |
}, | |
"annotations": { | |
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"ReplicationController\",\"metadata\":{\"annotations\":{},\"name\":\"nginx\",\"namespace\":\"default\"},\"spec\":{\"replicas\":3,\"selector\":{\"app\":\"nginx\"},\"template\":{\"metadata\":{\"labels\":{\"app\":\"nginx\"},\"name\":\"nginx\"},\"spec\":{\"containers\":[{\"image\":\"nginx\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80}]}]}}}}\n" | |
}, | |
"managedFields": [ | |
{ | |
"manager": "kubectl", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-19T14:38:38Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:kubectl.kubernetes.io/last-applied-configuration": {} | |
}, | |
"f:labels": { | |
".": {}, | |
"f:app": {} | |
} | |
}, | |
"f:spec": { | |
"f:replicas": {}, | |
"f:selector": { | |
".": {}, | |
"f:app": {} | |
}, | |
"f:template": { | |
".": {}, | |
"f:metadata": { | |
".": {}, | |
"f:creationTimestamp": {}, | |
"f:labels": { | |
".": {}, | |
"f:app": {} | |
}, | |
"f:name": {} | |
}, | |
"f:spec": { | |
".": {}, | |
"f:containers": { | |
".": {}, | |
"k:{\"name\":\"nginx\"}": { | |
".": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:ports": { | |
".": {}, | |
"k:{\"containerPort\":80,\"protocol\":\"TCP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:protocol": {} | |
} | |
}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:terminationGracePeriodSeconds": {} | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-19T14:38:52Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:status": { | |
"f:availableReplicas": {}, | |
"f:fullyLabeledReplicas": {}, | |
"f:observedGeneration": {}, | |
"f:readyReplicas": {}, | |
"f:replicas": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"replicas": 3, | |
"selector": { | |
"app": "nginx" | |
}, | |
"template": { | |
"metadata": { | |
"name": "nginx", | |
"creationTimestamp": null, | |
"labels": { | |
"app": "nginx" | |
} | |
}, | |
"spec": { | |
"containers": [ | |
{ | |
"name": "nginx", | |
"image": "nginx", | |
"ports": [ | |
{ | |
"containerPort": 80, | |
"protocol": "TCP" | |
} | |
], | |
"resources": {}, | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "Always" | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler" | |
} | |
} | |
}, | |
"status": { | |
"replicas": 3, | |
"fullyLabeledReplicas": 3, | |
"readyReplicas": 3, | |
"availableReplicas": 3, | |
"observedGeneration": 1 | |
}, | |
"Pods": { | |
"nginx-mpfph": { | |
"metadata": { | |
"name": "nginx-mpfph", | |
"generateName": "nginx-", | |
"namespace": "default", | |
"selfLink": "/api/v1/namespaces/default/pods/nginx-mpfph", | |
"uid": "945dd537-3024-481f-8472-811bee6a9b3c", | |
"resourceVersion": "764916", | |
"creationTimestamp": "2020-08-19T14:38:38Z", | |
"labels": { | |
"app": "nginx" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "v1", | |
"kind": "ReplicationController", | |
"name": "nginx", | |
"uid": "37056776-eaee-41ed-aafa-c7b154acd5b3", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-19T14:38:38Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:generateName": {}, | |
"f:labels": { | |
".": {}, | |
"f:app": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"37056776-eaee-41ed-aafa-c7b154acd5b3\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"nginx\"}": { | |
".": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:ports": { | |
".": {}, | |
"k:{\"containerPort\":80,\"protocol\":\"TCP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:protocol": {} | |
} | |
}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:enableServiceLinks": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:terminationGracePeriodSeconds": {} | |
} | |
} | |
}, | |
{ | |
"manager": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T13:12:17Z", | |
"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.244.0.4\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "default-token-r56gc", | |
"secret": { | |
"secretName": "default-token-r56gc", | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "nginx", | |
"image": "nginx", | |
"ports": [ | |
{ | |
"containerPort": 80, | |
"protocol": "TCP" | |
} | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "default-token-r56gc", | |
"readOnly": true, | |
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "Always" | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"serviceAccountName": "default", | |
"serviceAccount": "default", | |
"nodeName": "kind-control-plane", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "node.kubernetes.io/not-ready", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
}, | |
{ | |
"key": "node.kubernetes.io/unreachable", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
} | |
], | |
"priority": 0, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Running", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-19T14:38:38Z" | |
}, | |
{ | |
"type": "Ready", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:10Z" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:10Z" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-19T14:38:38Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "10.244.0.4", | |
"podIPs": [ | |
{ | |
"ip": "10.244.0.4" | |
} | |
], | |
"startTime": "2020-08-19T14:38:38Z", | |
"containerStatuses": [ | |
{ | |
"name": "nginx", | |
"state": { | |
"running": { | |
"startedAt": "2020-08-20T13:12:10Z" | |
} | |
}, | |
"lastState": { | |
"terminated": { | |
"exitCode": 255, | |
"reason": "Unknown", | |
"startedAt": "2020-08-19T14:38:51Z", | |
"finishedAt": "2020-08-20T13:11:56Z", | |
"containerID": "containerd://53e2e8e10e9cd32485eeb494676a35f0c94b8bc6c6959b390a7963434776a8bb" | |
} | |
}, | |
"ready": true, | |
"restartCount": 1, | |
"image": "docker.io/library/nginx:latest", | |
"imageID": "docker.io/library/nginx@sha256:b0ad43f7ee5edbc0effbc14645ae7055e21bc1973aee5150745632a24a752661", | |
"containerID": "containerd://44e8ba0c214ba1bfe28b988b069f8b6acac43a8975af8c19dbd7b05248cdc3d7", | |
"started": true | |
} | |
], | |
"qosClass": "BestEffort" | |
} | |
}, | |
"nginx-scvr5": { | |
"metadata": { | |
"name": "nginx-scvr5", | |
"generateName": "nginx-", | |
"namespace": "default", | |
"selfLink": "/api/v1/namespaces/default/pods/nginx-scvr5", | |
"uid": "8002d664-1793-4de1-a97e-7e128109130a", | |
"resourceVersion": "764904", | |
"creationTimestamp": "2020-08-19T14:38:38Z", | |
"labels": { | |
"app": "nginx" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "v1", | |
"kind": "ReplicationController", | |
"name": "nginx", | |
"uid": "37056776-eaee-41ed-aafa-c7b154acd5b3", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-19T14:38:38Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:generateName": {}, | |
"f:labels": { | |
".": {}, | |
"f:app": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"37056776-eaee-41ed-aafa-c7b154acd5b3\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"nginx\"}": { | |
".": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:ports": { | |
".": {}, | |
"k:{\"containerPort\":80,\"protocol\":\"TCP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:protocol": {} | |
} | |
}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:enableServiceLinks": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:terminationGracePeriodSeconds": {} | |
} | |
} | |
}, | |
{ | |
"manager": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T13:12:15Z", | |
"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.244.0.5\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "default-token-r56gc", | |
"secret": { | |
"secretName": "default-token-r56gc", | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "nginx", | |
"image": "nginx", | |
"ports": [ | |
{ | |
"containerPort": 80, | |
"protocol": "TCP" | |
} | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "default-token-r56gc", | |
"readOnly": true, | |
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "Always" | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"serviceAccountName": "default", | |
"serviceAccount": "default", | |
"nodeName": "kind-control-plane", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "node.kubernetes.io/not-ready", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
}, | |
{ | |
"key": "node.kubernetes.io/unreachable", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
} | |
], | |
"priority": 0, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Running", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-19T14:38:38Z" | |
}, | |
{ | |
"type": "Ready", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:09Z" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:09Z" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-19T14:38:38Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "10.244.0.5", | |
"podIPs": [ | |
{ | |
"ip": "10.244.0.5" | |
} | |
], | |
"startTime": "2020-08-19T14:38:38Z", | |
"containerStatuses": [ | |
{ | |
"name": "nginx", | |
"state": { | |
"running": { | |
"startedAt": "2020-08-20T13:12:09Z" | |
} | |
}, | |
"lastState": { | |
"terminated": { | |
"exitCode": 255, | |
"reason": "Unknown", | |
"startedAt": "2020-08-19T14:38:52Z", | |
"finishedAt": "2020-08-20T13:11:56Z", | |
"containerID": "containerd://350133a54f18bbc56301c759eb71590c1b566dc8207bf96df6f2a5a2b4c1984d" | |
} | |
}, | |
"ready": true, | |
"restartCount": 1, | |
"image": "docker.io/library/nginx:latest", | |
"imageID": "docker.io/library/nginx@sha256:b0ad43f7ee5edbc0effbc14645ae7055e21bc1973aee5150745632a24a752661", | |
"containerID": "containerd://0cf139ae66e3a280a82e0d478988e63db1096d724dd6f979a2728c539857b573", | |
"started": true | |
} | |
], | |
"qosClass": "BestEffort" | |
} | |
}, | |
"nginx-tj4fc": { | |
"metadata": { | |
"name": "nginx-tj4fc", | |
"generateName": "nginx-", | |
"namespace": "default", | |
"selfLink": "/api/v1/namespaces/default/pods/nginx-tj4fc", | |
"uid": "1e0f9e45-4597-4f11-bd28-ee36a2a04773", | |
"resourceVersion": "764901", | |
"creationTimestamp": "2020-08-19T14:38:38Z", | |
"labels": { | |
"app": "nginx" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "v1", | |
"kind": "ReplicationController", | |
"name": "nginx", | |
"uid": "37056776-eaee-41ed-aafa-c7b154acd5b3", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-19T14:38:38Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:generateName": {}, | |
"f:labels": { | |
".": {}, | |
"f:app": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"37056776-eaee-41ed-aafa-c7b154acd5b3\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"nginx\"}": { | |
".": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:ports": { | |
".": {}, | |
"k:{\"containerPort\":80,\"protocol\":\"TCP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:protocol": {} | |
} | |
}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:enableServiceLinks": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:terminationGracePeriodSeconds": {} | |
} | |
} | |
}, | |
{ | |
"manager": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T13:12:14Z", | |
"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.244.0.8\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "default-token-r56gc", | |
"secret": { | |
"secretName": "default-token-r56gc", | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "nginx", | |
"image": "nginx", | |
"ports": [ | |
{ | |
"containerPort": 80, | |
"protocol": "TCP" | |
} | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "default-token-r56gc", | |
"readOnly": true, | |
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "Always" | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"serviceAccountName": "default", | |
"serviceAccount": "default", | |
"nodeName": "kind-control-plane", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "node.kubernetes.io/not-ready", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
}, | |
{ | |
"key": "node.kubernetes.io/unreachable", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
} | |
], | |
"priority": 0, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Running", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-19T14:38:38Z" | |
}, | |
{ | |
"type": "Ready", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:11Z" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:11Z" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-19T14:38:38Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "10.244.0.8", | |
"podIPs": [ | |
{ | |
"ip": "10.244.0.8" | |
} | |
], | |
"startTime": "2020-08-19T14:38:38Z", | |
"containerStatuses": [ | |
{ | |
"name": "nginx", | |
"state": { | |
"running": { | |
"startedAt": "2020-08-20T13:12:10Z" | |
} | |
}, | |
"lastState": { | |
"terminated": { | |
"exitCode": 255, | |
"reason": "Unknown", | |
"startedAt": "2020-08-19T14:38:46Z", | |
"finishedAt": "2020-08-20T13:11:56Z", | |
"containerID": "containerd://b4dfe4cf087e21db1667f5ab9b1018b750cf2dbd2244d35abecb02aae5ccc4f9" | |
} | |
}, | |
"ready": true, | |
"restartCount": 1, | |
"image": "docker.io/library/nginx:latest", | |
"imageID": "docker.io/library/nginx@sha256:b0ad43f7ee5edbc0effbc14645ae7055e21bc1973aee5150745632a24a752661", | |
"containerID": "containerd://beae8c70517ceba13054ed7c42e3ad6ef453662b4127ea72b4f5c6999d514fef", | |
"started": true | |
} | |
], | |
"qosClass": "BestEffort" | |
} | |
} | |
} | |
} | |
}, | |
"StatefulSets": { | |
"web": { | |
"metadata": { | |
"name": "web", | |
"namespace": "default", | |
"selfLink": "/apis/apps/v1/namespaces/default/statefulsets/web", | |
"uid": "8435371f-f5b9-47de-bbc9-f961dc8dc0d9", | |
"resourceVersion": "524286", | |
"generation": 1, | |
"creationTimestamp": "2020-08-19T15:11:18Z", | |
"annotations": { | |
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"apps/v1\",\"kind\":\"StatefulSet\",\"metadata\":{\"annotations\":{},\"name\":\"web\",\"namespace\":\"default\"},\"spec\":{\"replicas\":2,\"selector\":{\"matchLabels\":{\"app\":\"nginx\"}},\"serviceName\":\"nginx\",\"template\":{\"metadata\":{\"labels\":{\"app\":\"nginx\"}},\"spec\":{\"containers\":[{\"image\":\"k8s.gcr.io/nginx-slim:0.8\",\"name\":\"nginx\",\"ports\":[{\"containerPort\":80,\"name\":\"web\"}],\"volumeMounts\":[{\"mountPath\":\"/usr/share/nginx/html\",\"name\":\"www\"}]}]}},\"volumeClaimTemplates\":[{\"metadata\":{\"name\":\"www\"},\"spec\":{\"accessModes\":[\"ReadWriteOnce\"],\"resources\":{\"requests\":{\"storage\":\"1Gi\"}}}}]}}\n" | |
}, | |
"managedFields": [ | |
{ | |
"manager": "kubectl", | |
"operation": "Update", | |
"apiVersion": "apps/v1", | |
"time": "2020-08-19T15:11:18Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:kubectl.kubernetes.io/last-applied-configuration": {} | |
} | |
}, | |
"f:spec": { | |
"f:podManagementPolicy": {}, | |
"f:replicas": {}, | |
"f:revisionHistoryLimit": {}, | |
"f:selector": { | |
"f:matchLabels": { | |
".": {}, | |
"f:app": {} | |
} | |
}, | |
"f:serviceName": {}, | |
"f:template": { | |
"f:metadata": { | |
"f:labels": { | |
".": {}, | |
"f:app": {} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"nginx\"}": { | |
".": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:ports": { | |
".": {}, | |
"k:{\"containerPort\":80,\"protocol\":\"TCP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:name": {}, | |
"f:protocol": {} | |
} | |
}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/usr/share/nginx/html\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:terminationGracePeriodSeconds": {} | |
} | |
}, | |
"f:updateStrategy": { | |
"f:rollingUpdate": { | |
".": {}, | |
"f:partition": {} | |
}, | |
"f:type": {} | |
}, | |
"f:volumeClaimTemplates": {} | |
} | |
} | |
}, | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "apps/v1", | |
"time": "2020-08-19T15:11:31Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:status": { | |
"f:collisionCount": {}, | |
"f:currentReplicas": {}, | |
"f:currentRevision": {}, | |
"f:observedGeneration": {}, | |
"f:readyReplicas": {}, | |
"f:replicas": {}, | |
"f:updateRevision": {}, | |
"f:updatedReplicas": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"replicas": 2, | |
"selector": { | |
"matchLabels": { | |
"app": "nginx" | |
} | |
}, | |
"template": { | |
"metadata": { | |
"creationTimestamp": null, | |
"labels": { | |
"app": "nginx" | |
} | |
}, | |
"spec": { | |
"containers": [ | |
{ | |
"name": "nginx", | |
"image": "k8s.gcr.io/nginx-slim:0.8", | |
"ports": [ | |
{ | |
"name": "web", | |
"containerPort": 80, | |
"protocol": "TCP" | |
} | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "www", | |
"mountPath": "/usr/share/nginx/html" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent" | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler" | |
} | |
}, | |
"volumeClaimTemplates": [ | |
{ | |
"kind": "PersistentVolumeClaim", | |
"apiVersion": "v1", | |
"metadata": { | |
"name": "www", | |
"creationTimestamp": null | |
}, | |
"spec": { | |
"accessModes": [ | |
"ReadWriteOnce" | |
], | |
"resources": { | |
"requests": { | |
"storage": "1Gi" | |
} | |
}, | |
"volumeMode": "Filesystem" | |
}, | |
"status": { | |
"phase": "Pending" | |
} | |
} | |
], | |
"serviceName": "nginx", | |
"podManagementPolicy": "OrderedReady", | |
"updateStrategy": { | |
"type": "RollingUpdate", | |
"rollingUpdate": { | |
"partition": 0 | |
} | |
}, | |
"revisionHistoryLimit": 10 | |
}, | |
"status": { | |
"observedGeneration": 1, | |
"replicas": 2, | |
"readyReplicas": 2, | |
"currentReplicas": 2, | |
"updatedReplicas": 2, | |
"currentRevision": "web-b46f789c4", | |
"updateRevision": "web-b46f789c4", | |
"collisionCount": 0 | |
}, | |
"Pods": { | |
"web-0": { | |
"metadata": { | |
"name": "web-0", | |
"generateName": "web-", | |
"namespace": "default", | |
"selfLink": "/api/v1/namespaces/default/pods/web-0", | |
"uid": "f0cb6480-1dc7-4b0e-bf90-71747fafb20e", | |
"resourceVersion": "764920", | |
"creationTimestamp": "2020-08-19T15:11:18Z", | |
"labels": { | |
"app": "nginx", | |
"controller-revision-hash": "web-b46f789c4", | |
"statefulset.kubernetes.io/pod-name": "web-0" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "apps/v1", | |
"kind": "StatefulSet", | |
"name": "web", | |
"uid": "8435371f-f5b9-47de-bbc9-f961dc8dc0d9", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-19T15:11:18Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:generateName": {}, | |
"f:labels": { | |
".": {}, | |
"f:app": {}, | |
"f:controller-revision-hash": {}, | |
"f:statefulset.kubernetes.io/pod-name": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"8435371f-f5b9-47de-bbc9-f961dc8dc0d9\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"nginx\"}": { | |
".": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:ports": { | |
".": {}, | |
"k:{\"containerPort\":80,\"protocol\":\"TCP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:name": {}, | |
"f:protocol": {} | |
} | |
}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/usr/share/nginx/html\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:enableServiceLinks": {}, | |
"f:hostname": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:subdomain": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"www\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:persistentVolumeClaim": { | |
".": {}, | |
"f:claimName": {} | |
} | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T13:12:17Z", | |
"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.244.0.7\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "www", | |
"persistentVolumeClaim": { | |
"claimName": "www-web-0" | |
} | |
}, | |
{ | |
"name": "default-token-r56gc", | |
"secret": { | |
"secretName": "default-token-r56gc", | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "nginx", | |
"image": "k8s.gcr.io/nginx-slim:0.8", | |
"ports": [ | |
{ | |
"name": "web", | |
"containerPort": 80, | |
"protocol": "TCP" | |
} | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "www", | |
"mountPath": "/usr/share/nginx/html" | |
}, | |
{ | |
"name": "default-token-r56gc", | |
"readOnly": true, | |
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent" | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"serviceAccountName": "default", | |
"serviceAccount": "default", | |
"nodeName": "kind-control-plane", | |
"securityContext": {}, | |
"hostname": "web-0", | |
"subdomain": "nginx", | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "node.kubernetes.io/not-ready", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
}, | |
{ | |
"key": "node.kubernetes.io/unreachable", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
} | |
], | |
"priority": 0, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Running", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-19T15:11:21Z" | |
}, | |
{ | |
"type": "Ready", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:10Z" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:10Z" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-19T15:11:21Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "10.244.0.7", | |
"podIPs": [ | |
{ | |
"ip": "10.244.0.7" | |
} | |
], | |
"startTime": "2020-08-19T15:11:21Z", | |
"containerStatuses": [ | |
{ | |
"name": "nginx", | |
"state": { | |
"running": { | |
"startedAt": "2020-08-20T13:12:10Z" | |
} | |
}, | |
"lastState": { | |
"terminated": { | |
"exitCode": 255, | |
"reason": "Unknown", | |
"startedAt": "2020-08-19T15:11:27Z", | |
"finishedAt": "2020-08-20T13:11:56Z", | |
"containerID": "containerd://399101102cf588b26a5ad3df4f60febe18ce9f70c9fbfab704385085c890e100" | |
} | |
}, | |
"ready": true, | |
"restartCount": 1, | |
"image": "k8s.gcr.io/nginx-slim:0.8", | |
"imageID": "sha256:80df3455afab6379010336bb9b49df4f169943fa14e774cf5b2065ded75c95f3", | |
"containerID": "containerd://0eebec6c59bc36261b87059cfd16dc769b37dbeb4656bbadcd2524ee802ad4f2", | |
"started": true | |
} | |
], | |
"qosClass": "BestEffort" | |
} | |
}, | |
"web-1": { | |
"metadata": { | |
"name": "web-1", | |
"generateName": "web-", | |
"namespace": "default", | |
"selfLink": "/api/v1/namespaces/default/pods/web-1", | |
"uid": "166f9222-e147-48d8-918e-bce47db80aab", | |
"resourceVersion": "764907", | |
"creationTimestamp": "2020-08-19T15:11:28Z", | |
"labels": { | |
"app": "nginx", | |
"controller-revision-hash": "web-b46f789c4", | |
"statefulset.kubernetes.io/pod-name": "web-1" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "apps/v1", | |
"kind": "StatefulSet", | |
"name": "web", | |
"uid": "8435371f-f5b9-47de-bbc9-f961dc8dc0d9", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-19T15:11:28Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:generateName": {}, | |
"f:labels": { | |
".": {}, | |
"f:app": {}, | |
"f:controller-revision-hash": {}, | |
"f:statefulset.kubernetes.io/pod-name": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"8435371f-f5b9-47de-bbc9-f961dc8dc0d9\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"nginx\"}": { | |
".": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:ports": { | |
".": {}, | |
"k:{\"containerPort\":80,\"protocol\":\"TCP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:name": {}, | |
"f:protocol": {} | |
} | |
}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/usr/share/nginx/html\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:enableServiceLinks": {}, | |
"f:hostname": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:subdomain": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"www\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:persistentVolumeClaim": { | |
".": {}, | |
"f:claimName": {} | |
} | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T13:12:15Z", | |
"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.244.0.9\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "www", | |
"persistentVolumeClaim": { | |
"claimName": "www-web-1" | |
} | |
}, | |
{ | |
"name": "default-token-r56gc", | |
"secret": { | |
"secretName": "default-token-r56gc", | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "nginx", | |
"image": "k8s.gcr.io/nginx-slim:0.8", | |
"ports": [ | |
{ | |
"name": "web", | |
"containerPort": 80, | |
"protocol": "TCP" | |
} | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "www", | |
"mountPath": "/usr/share/nginx/html" | |
}, | |
{ | |
"name": "default-token-r56gc", | |
"readOnly": true, | |
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent" | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"serviceAccountName": "default", | |
"serviceAccount": "default", | |
"nodeName": "kind-control-plane", | |
"securityContext": {}, | |
"hostname": "web-1", | |
"subdomain": "nginx", | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "node.kubernetes.io/not-ready", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
}, | |
{ | |
"key": "node.kubernetes.io/unreachable", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
} | |
], | |
"priority": 0, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Running", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-19T15:11:30Z" | |
}, | |
{ | |
"type": "Ready", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:11Z" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:11Z" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-19T15:11:30Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "10.244.0.9", | |
"podIPs": [ | |
{ | |
"ip": "10.244.0.9" | |
} | |
], | |
"startTime": "2020-08-19T15:11:30Z", | |
"containerStatuses": [ | |
{ | |
"name": "nginx", | |
"state": { | |
"running": { | |
"startedAt": "2020-08-20T13:12:11Z" | |
} | |
}, | |
"lastState": { | |
"terminated": { | |
"exitCode": 255, | |
"reason": "Unknown", | |
"startedAt": "2020-08-19T15:11:31Z", | |
"finishedAt": "2020-08-20T13:11:56Z", | |
"containerID": "containerd://7218beaa758533292381f9466c5890eaa5d7f203dad5e84d325d6ce5f90d50a8" | |
} | |
}, | |
"ready": true, | |
"restartCount": 1, | |
"image": "k8s.gcr.io/nginx-slim:0.8", | |
"imageID": "sha256:80df3455afab6379010336bb9b49df4f169943fa14e774cf5b2065ded75c95f3", | |
"containerID": "containerd://6d938f2a9b404d1e91187076415c9bf0361e52e6ac3ead33937d50617bf82f4a", | |
"started": true | |
} | |
], | |
"qosClass": "BestEffort" | |
} | |
} | |
} | |
} | |
}, | |
"DaemonSets": {}, | |
"Jobs": {}, | |
"CronJobs": { | |
"hello": { | |
"metadata": { | |
"name": "hello", | |
"namespace": "default", | |
"selfLink": "/apis/batch/v1beta1/namespaces/default/cronjobs/hello", | |
"uid": "bd373f99-4e8e-49bf-aee9-586ce8faca8b", | |
"resourceVersion": "791691", | |
"creationTimestamp": "2020-08-18T13:59:11Z", | |
"annotations": { | |
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"batch/v1beta1\",\"kind\":\"CronJob\",\"metadata\":{\"annotations\":{},\"name\":\"hello\",\"namespace\":\"default\"},\"spec\":{\"jobTemplate\":{\"spec\":{\"template\":{\"spec\":{\"containers\":[{\"args\":[\"/bin/sh\",\"-c\",\"date; echo Hello from the Kubernetes cluster\"],\"image\":\"busybox\",\"name\":\"hello\"}],\"restartPolicy\":\"OnFailure\"}}}},\"schedule\":\"*/1 * * * *\"}}\n" | |
}, | |
"managedFields": [ | |
{ | |
"manager": "kubectl", | |
"operation": "Update", | |
"apiVersion": "batch/v1beta1", | |
"time": "2020-08-18T13:59:11Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:kubectl.kubernetes.io/last-applied-configuration": {} | |
} | |
}, | |
"f:spec": { | |
"f:concurrencyPolicy": {}, | |
"f:failedJobsHistoryLimit": {}, | |
"f:jobTemplate": { | |
"f:spec": { | |
"f:template": { | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"hello\"}": { | |
".": {}, | |
"f:args": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:terminationGracePeriodSeconds": {} | |
} | |
} | |
} | |
}, | |
"f:schedule": {}, | |
"f:successfulJobsHistoryLimit": {}, | |
"f:suspend": {} | |
} | |
} | |
}, | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "batch/v1beta1", | |
"time": "2020-08-20T15:36:03Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:status": { | |
"f:lastScheduleTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"schedule": "*/1 * * * *", | |
"concurrencyPolicy": "Allow", | |
"suspend": false, | |
"jobTemplate": { | |
"metadata": { | |
"creationTimestamp": null | |
}, | |
"spec": { | |
"template": { | |
"metadata": { | |
"creationTimestamp": null | |
}, | |
"spec": { | |
"containers": [ | |
{ | |
"name": "hello", | |
"image": "busybox", | |
"args": [ | |
"/bin/sh", | |
"-c", | |
"date; echo Hello from the Kubernetes cluster" | |
], | |
"resources": {}, | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "Always" | |
} | |
], | |
"restartPolicy": "OnFailure", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler" | |
} | |
} | |
} | |
}, | |
"successfulJobsHistoryLimit": 3, | |
"failedJobsHistoryLimit": 1 | |
}, | |
"status": { | |
"lastScheduleTime": "2020-08-20T15:36:00Z" | |
}, | |
"Jobs": { | |
"hello-1597937640": { | |
"metadata": { | |
"name": "hello-1597937640", | |
"namespace": "default", | |
"selfLink": "/apis/batch/v1/namespaces/default/jobs/hello-1597937640", | |
"uid": "509d9da7-15be-40c9-bb0a-c02e25b94e28", | |
"resourceVersion": "791299", | |
"creationTimestamp": "2020-08-20T15:34:02Z", | |
"labels": { | |
"controller-uid": "509d9da7-15be-40c9-bb0a-c02e25b94e28", | |
"job-name": "hello-1597937640" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "batch/v1beta1", | |
"kind": "CronJob", | |
"name": "hello", | |
"uid": "bd373f99-4e8e-49bf-aee9-586ce8faca8b", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "batch/v1", | |
"time": "2020-08-20T15:34:04Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"bd373f99-4e8e-49bf-aee9-586ce8faca8b\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:backoffLimit": {}, | |
"f:completions": {}, | |
"f:parallelism": {}, | |
"f:template": { | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"hello\"}": { | |
".": {}, | |
"f:args": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:terminationGracePeriodSeconds": {} | |
} | |
} | |
}, | |
"f:status": { | |
"f:completionTime": {}, | |
"f:conditions": { | |
".": {}, | |
"k:{\"type\":\"Complete\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:status": {}, | |
"f:type": {} | |
} | |
}, | |
"f:startTime": {}, | |
"f:succeeded": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"parallelism": 1, | |
"completions": 1, | |
"backoffLimit": 6, | |
"selector": { | |
"matchLabels": { | |
"controller-uid": "509d9da7-15be-40c9-bb0a-c02e25b94e28" | |
} | |
}, | |
"template": { | |
"metadata": { | |
"creationTimestamp": null, | |
"labels": { | |
"controller-uid": "509d9da7-15be-40c9-bb0a-c02e25b94e28", | |
"job-name": "hello-1597937640" | |
} | |
}, | |
"spec": { | |
"containers": [ | |
{ | |
"name": "hello", | |
"image": "busybox", | |
"args": [ | |
"/bin/sh", | |
"-c", | |
"date; echo Hello from the Kubernetes cluster" | |
], | |
"resources": {}, | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "Always" | |
} | |
], | |
"restartPolicy": "OnFailure", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler" | |
} | |
} | |
}, | |
"status": { | |
"conditions": [ | |
{ | |
"type": "Complete", | |
"status": "True", | |
"lastProbeTime": "2020-08-20T15:34:04Z", | |
"lastTransitionTime": "2020-08-20T15:34:04Z" | |
} | |
], | |
"startTime": "2020-08-20T15:34:02Z", | |
"completionTime": "2020-08-20T15:34:04Z", | |
"succeeded": 1 | |
}, | |
"Pods": { | |
"hello-1597937640-d8288": { | |
"metadata": { | |
"name": "hello-1597937640-d8288", | |
"generateName": "hello-1597937640-", | |
"namespace": "default", | |
"selfLink": "/api/v1/namespaces/default/pods/hello-1597937640-d8288", | |
"uid": "ee888947-cc37-444d-a413-3a61f6d80dd4", | |
"resourceVersion": "791297", | |
"creationTimestamp": "2020-08-20T15:34:02Z", | |
"labels": { | |
"controller-uid": "509d9da7-15be-40c9-bb0a-c02e25b94e28", | |
"job-name": "hello-1597937640" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "batch/v1", | |
"kind": "Job", | |
"name": "hello-1597937640", | |
"uid": "509d9da7-15be-40c9-bb0a-c02e25b94e28", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T15:34:02Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:generateName": {}, | |
"f:labels": { | |
".": {}, | |
"f:controller-uid": {}, | |
"f:job-name": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"509d9da7-15be-40c9-bb0a-c02e25b94e28\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"hello\"}": { | |
".": {}, | |
"f:args": {}, | |
"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": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T15:34:04Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:status": { | |
"f:conditions": { | |
"k:{\"type\":\"ContainersReady\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
}, | |
"k:{\"type\":\"Initialized\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
}, | |
"k:{\"type\":\"Ready\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
} | |
}, | |
"f:containerStatuses": {}, | |
"f:hostIP": {}, | |
"f:phase": {}, | |
"f:podIP": {}, | |
"f:podIPs": { | |
".": {}, | |
"k:{\"ip\":\"10.244.0.48\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "default-token-r56gc", | |
"secret": { | |
"secretName": "default-token-r56gc", | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "hello", | |
"image": "busybox", | |
"args": [ | |
"/bin/sh", | |
"-c", | |
"date; echo Hello from the Kubernetes cluster" | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "default-token-r56gc", | |
"readOnly": true, | |
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "Always" | |
} | |
], | |
"restartPolicy": "OnFailure", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"serviceAccountName": "default", | |
"serviceAccount": "default", | |
"nodeName": "kind-control-plane", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "node.kubernetes.io/not-ready", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
}, | |
{ | |
"key": "node.kubernetes.io/unreachable", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
} | |
], | |
"priority": 0, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Succeeded", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:34:02Z", | |
"reason": "PodCompleted" | |
}, | |
{ | |
"type": "Ready", | |
"status": "False", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:34:02Z", | |
"reason": "PodCompleted" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "False", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:34:02Z", | |
"reason": "PodCompleted" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:34:02Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "10.244.0.48", | |
"podIPs": [ | |
{ | |
"ip": "10.244.0.48" | |
} | |
], | |
"startTime": "2020-08-20T15:34:02Z", | |
"containerStatuses": [ | |
{ | |
"name": "hello", | |
"state": { | |
"terminated": { | |
"exitCode": 0, | |
"reason": "Completed", | |
"startedAt": "2020-08-20T15:34:04Z", | |
"finishedAt": "2020-08-20T15:34:04Z", | |
"containerID": "containerd://d8b581e1763fdb26d392cdbfabd3eb05a8ac666e1f84add9b045587667a6144a" | |
} | |
}, | |
"lastState": {}, | |
"ready": false, | |
"restartCount": 0, | |
"image": "docker.io/library/busybox:latest", | |
"imageID": "docker.io/library/busybox@sha256:4f47c01fa91355af2865ac10fef5bf6ec9c7f42ad2321377c21e844427972977", | |
"containerID": "containerd://d8b581e1763fdb26d392cdbfabd3eb05a8ac666e1f84add9b045587667a6144a", | |
"started": false | |
} | |
], | |
"qosClass": "BestEffort" | |
} | |
} | |
} | |
}, | |
"hello-1597937700": { | |
"metadata": { | |
"name": "hello-1597937700", | |
"namespace": "default", | |
"selfLink": "/apis/batch/v1/namespaces/default/jobs/hello-1597937700", | |
"uid": "acc1f483-758d-4abe-bd65-f50bc0589c63", | |
"resourceVersion": "791481", | |
"creationTimestamp": "2020-08-20T15:35:03Z", | |
"labels": { | |
"controller-uid": "acc1f483-758d-4abe-bd65-f50bc0589c63", | |
"job-name": "hello-1597937700" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "batch/v1beta1", | |
"kind": "CronJob", | |
"name": "hello", | |
"uid": "bd373f99-4e8e-49bf-aee9-586ce8faca8b", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "batch/v1", | |
"time": "2020-08-20T15:35:04Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"bd373f99-4e8e-49bf-aee9-586ce8faca8b\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:backoffLimit": {}, | |
"f:completions": {}, | |
"f:parallelism": {}, | |
"f:template": { | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"hello\"}": { | |
".": {}, | |
"f:args": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:terminationGracePeriodSeconds": {} | |
} | |
} | |
}, | |
"f:status": { | |
"f:completionTime": {}, | |
"f:conditions": { | |
".": {}, | |
"k:{\"type\":\"Complete\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:status": {}, | |
"f:type": {} | |
} | |
}, | |
"f:startTime": {}, | |
"f:succeeded": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"parallelism": 1, | |
"completions": 1, | |
"backoffLimit": 6, | |
"selector": { | |
"matchLabels": { | |
"controller-uid": "acc1f483-758d-4abe-bd65-f50bc0589c63" | |
} | |
}, | |
"template": { | |
"metadata": { | |
"creationTimestamp": null, | |
"labels": { | |
"controller-uid": "acc1f483-758d-4abe-bd65-f50bc0589c63", | |
"job-name": "hello-1597937700" | |
} | |
}, | |
"spec": { | |
"containers": [ | |
{ | |
"name": "hello", | |
"image": "busybox", | |
"args": [ | |
"/bin/sh", | |
"-c", | |
"date; echo Hello from the Kubernetes cluster" | |
], | |
"resources": {}, | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "Always" | |
} | |
], | |
"restartPolicy": "OnFailure", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler" | |
} | |
} | |
}, | |
"status": { | |
"conditions": [ | |
{ | |
"type": "Complete", | |
"status": "True", | |
"lastProbeTime": "2020-08-20T15:35:04Z", | |
"lastTransitionTime": "2020-08-20T15:35:04Z" | |
} | |
], | |
"startTime": "2020-08-20T15:35:03Z", | |
"completionTime": "2020-08-20T15:35:04Z", | |
"succeeded": 1 | |
}, | |
"Pods": { | |
"hello-1597937700-h2g4r": { | |
"metadata": { | |
"name": "hello-1597937700-h2g4r", | |
"generateName": "hello-1597937700-", | |
"namespace": "default", | |
"selfLink": "/api/v1/namespaces/default/pods/hello-1597937700-h2g4r", | |
"uid": "01cfd4fa-6306-4536-9b9d-486d7d79978d", | |
"resourceVersion": "791479", | |
"creationTimestamp": "2020-08-20T15:35:03Z", | |
"labels": { | |
"controller-uid": "acc1f483-758d-4abe-bd65-f50bc0589c63", | |
"job-name": "hello-1597937700" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "batch/v1", | |
"kind": "Job", | |
"name": "hello-1597937700", | |
"uid": "acc1f483-758d-4abe-bd65-f50bc0589c63", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T15:35:03Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:generateName": {}, | |
"f:labels": { | |
".": {}, | |
"f:controller-uid": {}, | |
"f:job-name": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"acc1f483-758d-4abe-bd65-f50bc0589c63\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"hello\"}": { | |
".": {}, | |
"f:args": {}, | |
"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": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T15:35:04Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:status": { | |
"f:conditions": { | |
"k:{\"type\":\"ContainersReady\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
}, | |
"k:{\"type\":\"Initialized\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
}, | |
"k:{\"type\":\"Ready\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
} | |
}, | |
"f:containerStatuses": {}, | |
"f:hostIP": {}, | |
"f:phase": {}, | |
"f:podIP": {}, | |
"f:podIPs": { | |
".": {}, | |
"k:{\"ip\":\"10.244.0.50\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "default-token-r56gc", | |
"secret": { | |
"secretName": "default-token-r56gc", | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "hello", | |
"image": "busybox", | |
"args": [ | |
"/bin/sh", | |
"-c", | |
"date; echo Hello from the Kubernetes cluster" | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "default-token-r56gc", | |
"readOnly": true, | |
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "Always" | |
} | |
], | |
"restartPolicy": "OnFailure", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"serviceAccountName": "default", | |
"serviceAccount": "default", | |
"nodeName": "kind-control-plane", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "node.kubernetes.io/not-ready", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
}, | |
{ | |
"key": "node.kubernetes.io/unreachable", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
} | |
], | |
"priority": 0, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Succeeded", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:35:03Z", | |
"reason": "PodCompleted" | |
}, | |
{ | |
"type": "Ready", | |
"status": "False", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:35:03Z", | |
"reason": "PodCompleted" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "False", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:35:03Z", | |
"reason": "PodCompleted" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:35:03Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "10.244.0.50", | |
"podIPs": [ | |
{ | |
"ip": "10.244.0.50" | |
} | |
], | |
"startTime": "2020-08-20T15:35:03Z", | |
"containerStatuses": [ | |
{ | |
"name": "hello", | |
"state": { | |
"terminated": { | |
"exitCode": 0, | |
"reason": "Completed", | |
"startedAt": "2020-08-20T15:35:04Z", | |
"finishedAt": "2020-08-20T15:35:04Z", | |
"containerID": "containerd://067aa8a9bbde792bbac13aa7ed1d1dd57dd693e1bb9d78062bf4246284bdb05e" | |
} | |
}, | |
"lastState": {}, | |
"ready": false, | |
"restartCount": 0, | |
"image": "docker.io/library/busybox:latest", | |
"imageID": "docker.io/library/busybox@sha256:4f47c01fa91355af2865ac10fef5bf6ec9c7f42ad2321377c21e844427972977", | |
"containerID": "containerd://067aa8a9bbde792bbac13aa7ed1d1dd57dd693e1bb9d78062bf4246284bdb05e", | |
"started": false | |
} | |
], | |
"qosClass": "BestEffort" | |
} | |
} | |
} | |
}, | |
"hello-1597937760": { | |
"metadata": { | |
"name": "hello-1597937760", | |
"namespace": "default", | |
"selfLink": "/apis/batch/v1/namespaces/default/jobs/hello-1597937760", | |
"uid": "9f834ebc-9697-414f-bf8a-5c7bd9659812", | |
"resourceVersion": "791664", | |
"creationTimestamp": "2020-08-20T15:36:03Z", | |
"labels": { | |
"controller-uid": "9f834ebc-9697-414f-bf8a-5c7bd9659812", | |
"job-name": "hello-1597937760" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "batch/v1beta1", | |
"kind": "CronJob", | |
"name": "hello", | |
"uid": "bd373f99-4e8e-49bf-aee9-586ce8faca8b", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "batch/v1", | |
"time": "2020-08-20T15:36:04Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"bd373f99-4e8e-49bf-aee9-586ce8faca8b\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:backoffLimit": {}, | |
"f:completions": {}, | |
"f:parallelism": {}, | |
"f:template": { | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"hello\"}": { | |
".": {}, | |
"f:args": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:terminationGracePeriodSeconds": {} | |
} | |
} | |
}, | |
"f:status": { | |
"f:completionTime": {}, | |
"f:conditions": { | |
".": {}, | |
"k:{\"type\":\"Complete\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:status": {}, | |
"f:type": {} | |
} | |
}, | |
"f:startTime": {}, | |
"f:succeeded": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"parallelism": 1, | |
"completions": 1, | |
"backoffLimit": 6, | |
"selector": { | |
"matchLabels": { | |
"controller-uid": "9f834ebc-9697-414f-bf8a-5c7bd9659812" | |
} | |
}, | |
"template": { | |
"metadata": { | |
"creationTimestamp": null, | |
"labels": { | |
"controller-uid": "9f834ebc-9697-414f-bf8a-5c7bd9659812", | |
"job-name": "hello-1597937760" | |
} | |
}, | |
"spec": { | |
"containers": [ | |
{ | |
"name": "hello", | |
"image": "busybox", | |
"args": [ | |
"/bin/sh", | |
"-c", | |
"date; echo Hello from the Kubernetes cluster" | |
], | |
"resources": {}, | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "Always" | |
} | |
], | |
"restartPolicy": "OnFailure", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler" | |
} | |
} | |
}, | |
"status": { | |
"conditions": [ | |
{ | |
"type": "Complete", | |
"status": "True", | |
"lastProbeTime": "2020-08-20T15:36:04Z", | |
"lastTransitionTime": "2020-08-20T15:36:04Z" | |
} | |
], | |
"startTime": "2020-08-20T15:36:03Z", | |
"completionTime": "2020-08-20T15:36:04Z", | |
"succeeded": 1 | |
}, | |
"Pods": { | |
"hello-1597937760-7d7rt": { | |
"metadata": { | |
"name": "hello-1597937760-7d7rt", | |
"generateName": "hello-1597937760-", | |
"namespace": "default", | |
"selfLink": "/api/v1/namespaces/default/pods/hello-1597937760-7d7rt", | |
"uid": "6ffc05b6-1c46-4a9b-b904-485df31dc3cd", | |
"resourceVersion": "791662", | |
"creationTimestamp": "2020-08-20T15:36:03Z", | |
"labels": { | |
"controller-uid": "9f834ebc-9697-414f-bf8a-5c7bd9659812", | |
"job-name": "hello-1597937760" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "batch/v1", | |
"kind": "Job", | |
"name": "hello-1597937760", | |
"uid": "9f834ebc-9697-414f-bf8a-5c7bd9659812", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T15:36:03Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:generateName": {}, | |
"f:labels": { | |
".": {}, | |
"f:controller-uid": {}, | |
"f:job-name": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"9f834ebc-9697-414f-bf8a-5c7bd9659812\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"hello\"}": { | |
".": {}, | |
"f:args": {}, | |
"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": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T15:36:04Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:status": { | |
"f:conditions": { | |
"k:{\"type\":\"ContainersReady\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
}, | |
"k:{\"type\":\"Initialized\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
}, | |
"k:{\"type\":\"Ready\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
} | |
}, | |
"f:containerStatuses": {}, | |
"f:hostIP": {}, | |
"f:phase": {}, | |
"f:podIP": {}, | |
"f:podIPs": { | |
".": {}, | |
"k:{\"ip\":\"10.244.0.52\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "default-token-r56gc", | |
"secret": { | |
"secretName": "default-token-r56gc", | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "hello", | |
"image": "busybox", | |
"args": [ | |
"/bin/sh", | |
"-c", | |
"date; echo Hello from the Kubernetes cluster" | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "default-token-r56gc", | |
"readOnly": true, | |
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "Always" | |
} | |
], | |
"restartPolicy": "OnFailure", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"serviceAccountName": "default", | |
"serviceAccount": "default", | |
"nodeName": "kind-control-plane", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "node.kubernetes.io/not-ready", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
}, | |
{ | |
"key": "node.kubernetes.io/unreachable", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
} | |
], | |
"priority": 0, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Succeeded", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:36:03Z", | |
"reason": "PodCompleted" | |
}, | |
{ | |
"type": "Ready", | |
"status": "False", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:36:03Z", | |
"reason": "PodCompleted" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "False", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:36:03Z", | |
"reason": "PodCompleted" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:36:03Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "10.244.0.52", | |
"podIPs": [ | |
{ | |
"ip": "10.244.0.52" | |
} | |
], | |
"startTime": "2020-08-20T15:36:03Z", | |
"containerStatuses": [ | |
{ | |
"name": "hello", | |
"state": { | |
"terminated": { | |
"exitCode": 0, | |
"reason": "Completed", | |
"startedAt": "2020-08-20T15:36:04Z", | |
"finishedAt": "2020-08-20T15:36:04Z", | |
"containerID": "containerd://47af6bb1c1100b9a7d09dd6bffa0ab49cb608a3bda215b3aae9bfdcd1022e9c8" | |
} | |
}, | |
"lastState": {}, | |
"ready": false, | |
"restartCount": 0, | |
"image": "docker.io/library/busybox:latest", | |
"imageID": "docker.io/library/busybox@sha256:4f47c01fa91355af2865ac10fef5bf6ec9c7f42ad2321377c21e844427972977", | |
"containerID": "containerd://47af6bb1c1100b9a7d09dd6bffa0ab49cb608a3bda215b3aae9bfdcd1022e9c8", | |
"started": false | |
} | |
], | |
"qosClass": "BestEffort" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"Pods": {} | |
}, | |
"kube-node-lease": { | |
"Deployments": {}, | |
"ReplicaSets": {}, | |
"ReplicationControllers": {}, | |
"StatefulSets": {}, | |
"DaemonSets": {}, | |
"Jobs": {}, | |
"CronJobs": {}, | |
"Pods": {} | |
}, | |
"kube-public": { | |
"Deployments": {}, | |
"ReplicaSets": {}, | |
"ReplicationControllers": {}, | |
"StatefulSets": {}, | |
"DaemonSets": {}, | |
"Jobs": {}, | |
"CronJobs": {}, | |
"Pods": {} | |
}, | |
"kube-system": { | |
"Deployments": { | |
"coredns": { | |
"metadata": { | |
"name": "coredns", | |
"namespace": "kube-system", | |
"selfLink": "/apis/apps/v1/namespaces/kube-system/deployments/coredns", | |
"uid": "ecc92c9c-8674-4afd-9730-68a52bd2214a", | |
"resourceVersion": "765071", | |
"generation": 1, | |
"creationTimestamp": "2020-08-17T12:23:17Z", | |
"labels": { | |
"k8s-app": "kube-dns" | |
}, | |
"annotations": { | |
"deployment.kubernetes.io/revision": "1" | |
}, | |
"managedFields": [ | |
{ | |
"manager": "kubeadm", | |
"operation": "Update", | |
"apiVersion": "apps/v1", | |
"time": "2020-08-17T12:23:17Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:labels": { | |
".": {}, | |
"f:k8s-app": {} | |
} | |
}, | |
"f:spec": { | |
"f:progressDeadlineSeconds": {}, | |
"f:replicas": {}, | |
"f:revisionHistoryLimit": {}, | |
"f:selector": { | |
"f:matchLabels": { | |
".": {}, | |
"f:k8s-app": {} | |
} | |
}, | |
"f:strategy": { | |
"f:rollingUpdate": { | |
".": {}, | |
"f:maxSurge": {}, | |
"f:maxUnavailable": {} | |
}, | |
"f:type": {} | |
}, | |
"f:template": { | |
"f:metadata": { | |
"f:labels": { | |
".": {}, | |
"f:k8s-app": {} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"coredns\"}": { | |
".": {}, | |
"f:args": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:livenessProbe": { | |
".": {}, | |
"f:failureThreshold": {}, | |
"f:httpGet": { | |
".": {}, | |
"f:path": {}, | |
"f:port": {}, | |
"f:scheme": {} | |
}, | |
"f:initialDelaySeconds": {}, | |
"f:periodSeconds": {}, | |
"f:successThreshold": {}, | |
"f:timeoutSeconds": {} | |
}, | |
"f:name": {}, | |
"f:ports": { | |
".": {}, | |
"k:{\"containerPort\":53,\"protocol\":\"TCP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:name": {}, | |
"f:protocol": {} | |
}, | |
"k:{\"containerPort\":53,\"protocol\":\"UDP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:name": {}, | |
"f:protocol": {} | |
}, | |
"k:{\"containerPort\":9153,\"protocol\":\"TCP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:name": {}, | |
"f:protocol": {} | |
} | |
}, | |
"f:readinessProbe": { | |
".": {}, | |
"f:failureThreshold": {}, | |
"f:httpGet": { | |
".": {}, | |
"f:path": {}, | |
"f:port": {}, | |
"f:scheme": {} | |
}, | |
"f:periodSeconds": {}, | |
"f:successThreshold": {}, | |
"f:timeoutSeconds": {} | |
}, | |
"f:resources": { | |
".": {}, | |
"f:limits": { | |
".": {}, | |
"f:memory": {} | |
}, | |
"f:requests": { | |
".": {}, | |
"f:cpu": {}, | |
"f:memory": {} | |
} | |
}, | |
"f:securityContext": { | |
".": {}, | |
"f:allowPrivilegeEscalation": {}, | |
"f:capabilities": { | |
".": {}, | |
"f:add": {}, | |
"f:drop": {} | |
}, | |
"f:readOnlyRootFilesystem": {} | |
}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/etc/coredns\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:nodeSelector": { | |
".": {}, | |
"f:kubernetes.io/os": {} | |
}, | |
"f:priorityClassName": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:serviceAccount": {}, | |
"f:serviceAccountName": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:tolerations": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"config-volume\"}": { | |
".": {}, | |
"f:configMap": { | |
".": {}, | |
"f:defaultMode": {}, | |
"f:items": {}, | |
"f:name": {} | |
}, | |
"f:name": {} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "apps/v1", | |
"time": "2020-08-20T13:12:42Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:deployment.kubernetes.io/revision": {} | |
} | |
}, | |
"f:status": { | |
"f:availableReplicas": {}, | |
"f:conditions": { | |
".": {}, | |
"k:{\"type\":\"Available\"}": { | |
".": {}, | |
"f:lastTransitionTime": {}, | |
"f:lastUpdateTime": {}, | |
"f:message": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
}, | |
"k:{\"type\":\"Progressing\"}": { | |
".": {}, | |
"f:lastTransitionTime": {}, | |
"f:lastUpdateTime": {}, | |
"f:message": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
} | |
}, | |
"f:observedGeneration": {}, | |
"f:readyReplicas": {}, | |
"f:replicas": {}, | |
"f:updatedReplicas": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"replicas": 2, | |
"selector": { | |
"matchLabels": { | |
"k8s-app": "kube-dns" | |
} | |
}, | |
"template": { | |
"metadata": { | |
"creationTimestamp": null, | |
"labels": { | |
"k8s-app": "kube-dns" | |
} | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "config-volume", | |
"configMap": { | |
"name": "coredns", | |
"items": [ | |
{ | |
"key": "Corefile", | |
"path": "Corefile" | |
} | |
], | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "coredns", | |
"image": "k8s.gcr.io/coredns:1.6.7", | |
"args": [ | |
"-conf", | |
"/etc/coredns/Corefile" | |
], | |
"ports": [ | |
{ | |
"name": "dns", | |
"containerPort": 53, | |
"protocol": "UDP" | |
}, | |
{ | |
"name": "dns-tcp", | |
"containerPort": 53, | |
"protocol": "TCP" | |
}, | |
{ | |
"name": "metrics", | |
"containerPort": 9153, | |
"protocol": "TCP" | |
} | |
], | |
"resources": { | |
"limits": { | |
"memory": "170Mi" | |
}, | |
"requests": { | |
"cpu": "100m", | |
"memory": "70Mi" | |
} | |
}, | |
"volumeMounts": [ | |
{ | |
"name": "config-volume", | |
"readOnly": true, | |
"mountPath": "/etc/coredns" | |
} | |
], | |
"livenessProbe": { | |
"httpGet": { | |
"path": "/health", | |
"port": 8080, | |
"scheme": "HTTP" | |
}, | |
"initialDelaySeconds": 60, | |
"timeoutSeconds": 5, | |
"periodSeconds": 10, | |
"successThreshold": 1, | |
"failureThreshold": 5 | |
}, | |
"readinessProbe": { | |
"httpGet": { | |
"path": "/ready", | |
"port": 8181, | |
"scheme": "HTTP" | |
}, | |
"timeoutSeconds": 1, | |
"periodSeconds": 10, | |
"successThreshold": 1, | |
"failureThreshold": 3 | |
}, | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent", | |
"securityContext": { | |
"capabilities": { | |
"add": [ | |
"NET_BIND_SERVICE" | |
], | |
"drop": [ | |
"all" | |
] | |
}, | |
"readOnlyRootFilesystem": true, | |
"allowPrivilegeEscalation": false | |
} | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "Default", | |
"nodeSelector": { | |
"kubernetes.io/os": "linux" | |
}, | |
"serviceAccountName": "coredns", | |
"serviceAccount": "coredns", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "CriticalAddonsOnly", | |
"operator": "Exists" | |
}, | |
{ | |
"key": "node-role.kubernetes.io/master", | |
"effect": "NoSchedule" | |
} | |
], | |
"priorityClassName": "system-cluster-critical" | |
} | |
}, | |
"strategy": { | |
"type": "RollingUpdate", | |
"rollingUpdate": { | |
"maxUnavailable": 1, | |
"maxSurge": "25%" | |
} | |
}, | |
"revisionHistoryLimit": 10, | |
"progressDeadlineSeconds": 600 | |
}, | |
"status": { | |
"observedGeneration": 1, | |
"replicas": 2, | |
"updatedReplicas": 2, | |
"readyReplicas": 2, | |
"availableReplicas": 2, | |
"conditions": [ | |
{ | |
"type": "Available", | |
"status": "True", | |
"lastUpdateTime": "2020-08-17T12:23:56Z", | |
"lastTransitionTime": "2020-08-17T12:23:56Z", | |
"reason": "MinimumReplicasAvailable", | |
"message": "Deployment has minimum availability." | |
}, | |
{ | |
"type": "Progressing", | |
"status": "True", | |
"lastUpdateTime": "2020-08-17T12:23:58Z", | |
"lastTransitionTime": "2020-08-17T12:23:35Z", | |
"reason": "NewReplicaSetAvailable", | |
"message": "ReplicaSet \"coredns-66bff467f8\" has successfully progressed." | |
} | |
] | |
}, | |
"ReplicaSets": { | |
"coredns-66bff467f8": { | |
"metadata": { | |
"name": "coredns-66bff467f8", | |
"namespace": "kube-system", | |
"selfLink": "/apis/apps/v1/namespaces/kube-system/replicasets/coredns-66bff467f8", | |
"uid": "b0e8009e-3d1b-4fda-973f-35682ec50ab3", | |
"resourceVersion": "765070", | |
"generation": 1, | |
"creationTimestamp": "2020-08-17T12:23:35Z", | |
"labels": { | |
"k8s-app": "kube-dns", | |
"pod-template-hash": "66bff467f8" | |
}, | |
"annotations": { | |
"deployment.kubernetes.io/desired-replicas": "2", | |
"deployment.kubernetes.io/max-replicas": "3", | |
"deployment.kubernetes.io/revision": "1" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "apps/v1", | |
"kind": "Deployment", | |
"name": "coredns", | |
"uid": "ecc92c9c-8674-4afd-9730-68a52bd2214a", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "apps/v1", | |
"time": "2020-08-20T13:12:42Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:deployment.kubernetes.io/desired-replicas": {}, | |
"f:deployment.kubernetes.io/max-replicas": {}, | |
"f:deployment.kubernetes.io/revision": {} | |
}, | |
"f:labels": { | |
".": {}, | |
"f:k8s-app": {}, | |
"f:pod-template-hash": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"ecc92c9c-8674-4afd-9730-68a52bd2214a\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:replicas": {}, | |
"f:selector": { | |
"f:matchLabels": { | |
".": {}, | |
"f:k8s-app": {}, | |
"f:pod-template-hash": {} | |
} | |
}, | |
"f:template": { | |
"f:metadata": { | |
"f:labels": { | |
".": {}, | |
"f:k8s-app": {}, | |
"f:pod-template-hash": {} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"coredns\"}": { | |
".": {}, | |
"f:args": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:livenessProbe": { | |
".": {}, | |
"f:failureThreshold": {}, | |
"f:httpGet": { | |
".": {}, | |
"f:path": {}, | |
"f:port": {}, | |
"f:scheme": {} | |
}, | |
"f:initialDelaySeconds": {}, | |
"f:periodSeconds": {}, | |
"f:successThreshold": {}, | |
"f:timeoutSeconds": {} | |
}, | |
"f:name": {}, | |
"f:ports": { | |
".": {}, | |
"k:{\"containerPort\":53,\"protocol\":\"TCP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:name": {}, | |
"f:protocol": {} | |
}, | |
"k:{\"containerPort\":53,\"protocol\":\"UDP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:name": {}, | |
"f:protocol": {} | |
}, | |
"k:{\"containerPort\":9153,\"protocol\":\"TCP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:name": {}, | |
"f:protocol": {} | |
} | |
}, | |
"f:readinessProbe": { | |
".": {}, | |
"f:failureThreshold": {}, | |
"f:httpGet": { | |
".": {}, | |
"f:path": {}, | |
"f:port": {}, | |
"f:scheme": {} | |
}, | |
"f:periodSeconds": {}, | |
"f:successThreshold": {}, | |
"f:timeoutSeconds": {} | |
}, | |
"f:resources": { | |
".": {}, | |
"f:limits": { | |
".": {}, | |
"f:memory": {} | |
}, | |
"f:requests": { | |
".": {}, | |
"f:cpu": {}, | |
"f:memory": {} | |
} | |
}, | |
"f:securityContext": { | |
".": {}, | |
"f:allowPrivilegeEscalation": {}, | |
"f:capabilities": { | |
".": {}, | |
"f:add": {}, | |
"f:drop": {} | |
}, | |
"f:readOnlyRootFilesystem": {} | |
}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/etc/coredns\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:nodeSelector": { | |
".": {}, | |
"f:kubernetes.io/os": {} | |
}, | |
"f:priorityClassName": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:serviceAccount": {}, | |
"f:serviceAccountName": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:tolerations": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"config-volume\"}": { | |
".": {}, | |
"f:configMap": { | |
".": {}, | |
"f:defaultMode": {}, | |
"f:items": {}, | |
"f:name": {} | |
}, | |
"f:name": {} | |
} | |
} | |
} | |
} | |
}, | |
"f:status": { | |
"f:availableReplicas": {}, | |
"f:fullyLabeledReplicas": {}, | |
"f:observedGeneration": {}, | |
"f:readyReplicas": {}, | |
"f:replicas": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"replicas": 2, | |
"selector": { | |
"matchLabels": { | |
"k8s-app": "kube-dns", | |
"pod-template-hash": "66bff467f8" | |
} | |
}, | |
"template": { | |
"metadata": { | |
"creationTimestamp": null, | |
"labels": { | |
"k8s-app": "kube-dns", | |
"pod-template-hash": "66bff467f8" | |
} | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "config-volume", | |
"configMap": { | |
"name": "coredns", | |
"items": [ | |
{ | |
"key": "Corefile", | |
"path": "Corefile" | |
} | |
], | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "coredns", | |
"image": "k8s.gcr.io/coredns:1.6.7", | |
"args": [ | |
"-conf", | |
"/etc/coredns/Corefile" | |
], | |
"ports": [ | |
{ | |
"name": "dns", | |
"containerPort": 53, | |
"protocol": "UDP" | |
}, | |
{ | |
"name": "dns-tcp", | |
"containerPort": 53, | |
"protocol": "TCP" | |
}, | |
{ | |
"name": "metrics", | |
"containerPort": 9153, | |
"protocol": "TCP" | |
} | |
], | |
"resources": { | |
"limits": { | |
"memory": "170Mi" | |
}, | |
"requests": { | |
"cpu": "100m", | |
"memory": "70Mi" | |
} | |
}, | |
"volumeMounts": [ | |
{ | |
"name": "config-volume", | |
"readOnly": true, | |
"mountPath": "/etc/coredns" | |
} | |
], | |
"livenessProbe": { | |
"httpGet": { | |
"path": "/health", | |
"port": 8080, | |
"scheme": "HTTP" | |
}, | |
"initialDelaySeconds": 60, | |
"timeoutSeconds": 5, | |
"periodSeconds": 10, | |
"successThreshold": 1, | |
"failureThreshold": 5 | |
}, | |
"readinessProbe": { | |
"httpGet": { | |
"path": "/ready", | |
"port": 8181, | |
"scheme": "HTTP" | |
}, | |
"timeoutSeconds": 1, | |
"periodSeconds": 10, | |
"successThreshold": 1, | |
"failureThreshold": 3 | |
}, | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent", | |
"securityContext": { | |
"capabilities": { | |
"add": [ | |
"NET_BIND_SERVICE" | |
], | |
"drop": [ | |
"all" | |
] | |
}, | |
"readOnlyRootFilesystem": true, | |
"allowPrivilegeEscalation": false | |
} | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "Default", | |
"nodeSelector": { | |
"kubernetes.io/os": "linux" | |
}, | |
"serviceAccountName": "coredns", | |
"serviceAccount": "coredns", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "CriticalAddonsOnly", | |
"operator": "Exists" | |
}, | |
{ | |
"key": "node-role.kubernetes.io/master", | |
"effect": "NoSchedule" | |
} | |
], | |
"priorityClassName": "system-cluster-critical" | |
} | |
} | |
}, | |
"status": { | |
"replicas": 2, | |
"fullyLabeledReplicas": 2, | |
"readyReplicas": 2, | |
"availableReplicas": 2, | |
"observedGeneration": 1 | |
}, | |
"Pods": { | |
"coredns-66bff467f8-vjk8b": { | |
"metadata": { | |
"name": "coredns-66bff467f8-vjk8b", | |
"generateName": "coredns-66bff467f8-", | |
"namespace": "kube-system", | |
"selfLink": "/api/v1/namespaces/kube-system/pods/coredns-66bff467f8-vjk8b", | |
"uid": "ab6a68a6-39ed-4cae-9e15-7eb4f2b4a40a", | |
"resourceVersion": "765067", | |
"creationTimestamp": "2020-08-17T12:23:35Z", | |
"labels": { | |
"k8s-app": "kube-dns", | |
"pod-template-hash": "66bff467f8" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "apps/v1", | |
"kind": "ReplicaSet", | |
"name": "coredns-66bff467f8", | |
"uid": "b0e8009e-3d1b-4fda-973f-35682ec50ab3", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-17T12:23:35Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:generateName": {}, | |
"f:labels": { | |
".": {}, | |
"f:k8s-app": {}, | |
"f:pod-template-hash": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"b0e8009e-3d1b-4fda-973f-35682ec50ab3\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"coredns\"}": { | |
".": {}, | |
"f:args": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:livenessProbe": { | |
".": {}, | |
"f:failureThreshold": {}, | |
"f:httpGet": { | |
".": {}, | |
"f:path": {}, | |
"f:port": {}, | |
"f:scheme": {} | |
}, | |
"f:initialDelaySeconds": {}, | |
"f:periodSeconds": {}, | |
"f:successThreshold": {}, | |
"f:timeoutSeconds": {} | |
}, | |
"f:name": {}, | |
"f:ports": { | |
".": {}, | |
"k:{\"containerPort\":53,\"protocol\":\"TCP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:name": {}, | |
"f:protocol": {} | |
}, | |
"k:{\"containerPort\":53,\"protocol\":\"UDP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:name": {}, | |
"f:protocol": {} | |
}, | |
"k:{\"containerPort\":9153,\"protocol\":\"TCP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:name": {}, | |
"f:protocol": {} | |
} | |
}, | |
"f:readinessProbe": { | |
".": {}, | |
"f:failureThreshold": {}, | |
"f:httpGet": { | |
".": {}, | |
"f:path": {}, | |
"f:port": {}, | |
"f:scheme": {} | |
}, | |
"f:periodSeconds": {}, | |
"f:successThreshold": {}, | |
"f:timeoutSeconds": {} | |
}, | |
"f:resources": { | |
".": {}, | |
"f:limits": { | |
".": {}, | |
"f:memory": {} | |
}, | |
"f:requests": { | |
".": {}, | |
"f:cpu": {}, | |
"f:memory": {} | |
} | |
}, | |
"f:securityContext": { | |
".": {}, | |
"f:allowPrivilegeEscalation": {}, | |
"f:capabilities": { | |
".": {}, | |
"f:add": {}, | |
"f:drop": {} | |
}, | |
"f:readOnlyRootFilesystem": {} | |
}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/etc/coredns\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:enableServiceLinks": {}, | |
"f:nodeSelector": { | |
".": {}, | |
"f:kubernetes.io/os": {} | |
}, | |
"f:priorityClassName": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:serviceAccount": {}, | |
"f:serviceAccountName": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:tolerations": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"config-volume\"}": { | |
".": {}, | |
"f:configMap": { | |
".": {}, | |
"f:defaultMode": {}, | |
"f:items": {}, | |
"f:name": {} | |
}, | |
"f:name": {} | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kube-scheduler", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-17T12:23:35Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:status": { | |
"f:conditions": { | |
".": {}, | |
"k:{\"type\":\"PodScheduled\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:message": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T13:12:42Z", | |
"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.244.0.2\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "config-volume", | |
"configMap": { | |
"name": "coredns", | |
"items": [ | |
{ | |
"key": "Corefile", | |
"path": "Corefile" | |
} | |
], | |
"defaultMode": 420 | |
} | |
}, | |
{ | |
"name": "coredns-token-jcgq7", | |
"secret": { | |
"secretName": "coredns-token-jcgq7", | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "coredns", | |
"image": "k8s.gcr.io/coredns:1.6.7", | |
"args": [ | |
"-conf", | |
"/etc/coredns/Corefile" | |
], | |
"ports": [ | |
{ | |
"name": "dns", | |
"containerPort": 53, | |
"protocol": "UDP" | |
}, | |
{ | |
"name": "dns-tcp", | |
"containerPort": 53, | |
"protocol": "TCP" | |
}, | |
{ | |
"name": "metrics", | |
"containerPort": 9153, | |
"protocol": "TCP" | |
} | |
], | |
"resources": { | |
"limits": { | |
"memory": "170Mi" | |
}, | |
"requests": { | |
"cpu": "100m", | |
"memory": "70Mi" | |
} | |
}, | |
"volumeMounts": [ | |
{ | |
"name": "config-volume", | |
"readOnly": true, | |
"mountPath": "/etc/coredns" | |
}, | |
{ | |
"name": "coredns-token-jcgq7", | |
"readOnly": true, | |
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount" | |
} | |
], | |
"livenessProbe": { | |
"httpGet": { | |
"path": "/health", | |
"port": 8080, | |
"scheme": "HTTP" | |
}, | |
"initialDelaySeconds": 60, | |
"timeoutSeconds": 5, | |
"periodSeconds": 10, | |
"successThreshold": 1, | |
"failureThreshold": 5 | |
}, | |
"readinessProbe": { | |
"httpGet": { | |
"path": "/ready", | |
"port": 8181, | |
"scheme": "HTTP" | |
}, | |
"timeoutSeconds": 1, | |
"periodSeconds": 10, | |
"successThreshold": 1, | |
"failureThreshold": 3 | |
}, | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent", | |
"securityContext": { | |
"capabilities": { | |
"add": [ | |
"NET_BIND_SERVICE" | |
], | |
"drop": [ | |
"all" | |
] | |
}, | |
"readOnlyRootFilesystem": true, | |
"allowPrivilegeEscalation": false | |
} | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "Default", | |
"nodeSelector": { | |
"kubernetes.io/os": "linux" | |
}, | |
"serviceAccountName": "coredns", | |
"serviceAccount": "coredns", | |
"nodeName": "kind-control-plane", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "CriticalAddonsOnly", | |
"operator": "Exists" | |
}, | |
{ | |
"key": "node-role.kubernetes.io/master", | |
"effect": "NoSchedule" | |
}, | |
{ | |
"key": "node.kubernetes.io/not-ready", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
}, | |
{ | |
"key": "node.kubernetes.io/unreachable", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
} | |
], | |
"priorityClassName": "system-cluster-critical", | |
"priority": 2000000000, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Running", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:48Z" | |
}, | |
{ | |
"type": "Ready", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:42Z" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:42Z" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:48Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "10.244.0.2", | |
"podIPs": [ | |
{ | |
"ip": "10.244.0.2" | |
} | |
], | |
"startTime": "2020-08-17T12:23:48Z", | |
"containerStatuses": [ | |
{ | |
"name": "coredns", | |
"state": { | |
"running": { | |
"startedAt": "2020-08-20T13:12:07Z" | |
} | |
}, | |
"lastState": { | |
"terminated": { | |
"exitCode": 255, | |
"reason": "Unknown", | |
"startedAt": "2020-08-17T12:23:49Z", | |
"finishedAt": "2020-08-20T13:11:56Z", | |
"containerID": "containerd://7ca4b46713a885641d99afda0eef68eb3481c347929d463aa9a3959c6a6f7214" | |
} | |
}, | |
"ready": true, | |
"restartCount": 1, | |
"image": "k8s.gcr.io/coredns:1.6.7", | |
"imageID": "sha256:67da37a9a360e600e74464da48437257b00a754c77c40f60c65e4cb327c34bd5", | |
"containerID": "containerd://3167be2e62f19ed28b3ea767745112537099339a5682cffc6fda8f730e9a4b7a", | |
"started": true | |
} | |
], | |
"qosClass": "Burstable" | |
} | |
}, | |
"coredns-66bff467f8-zthqn": { | |
"metadata": { | |
"name": "coredns-66bff467f8-zthqn", | |
"generateName": "coredns-66bff467f8-", | |
"namespace": "kube-system", | |
"selfLink": "/api/v1/namespaces/kube-system/pods/coredns-66bff467f8-zthqn", | |
"uid": "1e5b748b-12e9-49b4-a06f-97744b590ec2", | |
"resourceVersion": "764930", | |
"creationTimestamp": "2020-08-17T12:23:35Z", | |
"labels": { | |
"k8s-app": "kube-dns", | |
"pod-template-hash": "66bff467f8" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "apps/v1", | |
"kind": "ReplicaSet", | |
"name": "coredns-66bff467f8", | |
"uid": "b0e8009e-3d1b-4fda-973f-35682ec50ab3", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-17T12:23:35Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:generateName": {}, | |
"f:labels": { | |
".": {}, | |
"f:k8s-app": {}, | |
"f:pod-template-hash": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"b0e8009e-3d1b-4fda-973f-35682ec50ab3\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"coredns\"}": { | |
".": {}, | |
"f:args": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:livenessProbe": { | |
".": {}, | |
"f:failureThreshold": {}, | |
"f:httpGet": { | |
".": {}, | |
"f:path": {}, | |
"f:port": {}, | |
"f:scheme": {} | |
}, | |
"f:initialDelaySeconds": {}, | |
"f:periodSeconds": {}, | |
"f:successThreshold": {}, | |
"f:timeoutSeconds": {} | |
}, | |
"f:name": {}, | |
"f:ports": { | |
".": {}, | |
"k:{\"containerPort\":53,\"protocol\":\"TCP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:name": {}, | |
"f:protocol": {} | |
}, | |
"k:{\"containerPort\":53,\"protocol\":\"UDP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:name": {}, | |
"f:protocol": {} | |
}, | |
"k:{\"containerPort\":9153,\"protocol\":\"TCP\"}": { | |
".": {}, | |
"f:containerPort": {}, | |
"f:name": {}, | |
"f:protocol": {} | |
} | |
}, | |
"f:readinessProbe": { | |
".": {}, | |
"f:failureThreshold": {}, | |
"f:httpGet": { | |
".": {}, | |
"f:path": {}, | |
"f:port": {}, | |
"f:scheme": {} | |
}, | |
"f:periodSeconds": {}, | |
"f:successThreshold": {}, | |
"f:timeoutSeconds": {} | |
}, | |
"f:resources": { | |
".": {}, | |
"f:limits": { | |
".": {}, | |
"f:memory": {} | |
}, | |
"f:requests": { | |
".": {}, | |
"f:cpu": {}, | |
"f:memory": {} | |
} | |
}, | |
"f:securityContext": { | |
".": {}, | |
"f:allowPrivilegeEscalation": {}, | |
"f:capabilities": { | |
".": {}, | |
"f:add": {}, | |
"f:drop": {} | |
}, | |
"f:readOnlyRootFilesystem": {} | |
}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/etc/coredns\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:enableServiceLinks": {}, | |
"f:nodeSelector": { | |
".": {}, | |
"f:kubernetes.io/os": {} | |
}, | |
"f:priorityClassName": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:serviceAccount": {}, | |
"f:serviceAccountName": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:tolerations": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"config-volume\"}": { | |
".": {}, | |
"f:configMap": { | |
".": {}, | |
"f:defaultMode": {}, | |
"f:items": {}, | |
"f:name": {} | |
}, | |
"f:name": {} | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kube-scheduler", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-17T12:23:35Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:status": { | |
"f:conditions": { | |
".": {}, | |
"k:{\"type\":\"PodScheduled\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:message": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T13:12:18Z", | |
"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.244.0.6\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "config-volume", | |
"configMap": { | |
"name": "coredns", | |
"items": [ | |
{ | |
"key": "Corefile", | |
"path": "Corefile" | |
} | |
], | |
"defaultMode": 420 | |
} | |
}, | |
{ | |
"name": "coredns-token-jcgq7", | |
"secret": { | |
"secretName": "coredns-token-jcgq7", | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "coredns", | |
"image": "k8s.gcr.io/coredns:1.6.7", | |
"args": [ | |
"-conf", | |
"/etc/coredns/Corefile" | |
], | |
"ports": [ | |
{ | |
"name": "dns", | |
"containerPort": 53, | |
"protocol": "UDP" | |
}, | |
{ | |
"name": "dns-tcp", | |
"containerPort": 53, | |
"protocol": "TCP" | |
}, | |
{ | |
"name": "metrics", | |
"containerPort": 9153, | |
"protocol": "TCP" | |
} | |
], | |
"resources": { | |
"limits": { | |
"memory": "170Mi" | |
}, | |
"requests": { | |
"cpu": "100m", | |
"memory": "70Mi" | |
} | |
}, | |
"volumeMounts": [ | |
{ | |
"name": "config-volume", | |
"readOnly": true, | |
"mountPath": "/etc/coredns" | |
}, | |
{ | |
"name": "coredns-token-jcgq7", | |
"readOnly": true, | |
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount" | |
} | |
], | |
"livenessProbe": { | |
"httpGet": { | |
"path": "/health", | |
"port": 8080, | |
"scheme": "HTTP" | |
}, | |
"initialDelaySeconds": 60, | |
"timeoutSeconds": 5, | |
"periodSeconds": 10, | |
"successThreshold": 1, | |
"failureThreshold": 5 | |
}, | |
"readinessProbe": { | |
"httpGet": { | |
"path": "/ready", | |
"port": 8181, | |
"scheme": "HTTP" | |
}, | |
"timeoutSeconds": 1, | |
"periodSeconds": 10, | |
"successThreshold": 1, | |
"failureThreshold": 3 | |
}, | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent", | |
"securityContext": { | |
"capabilities": { | |
"add": [ | |
"NET_BIND_SERVICE" | |
], | |
"drop": [ | |
"all" | |
] | |
}, | |
"readOnlyRootFilesystem": true, | |
"allowPrivilegeEscalation": false | |
} | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "Default", | |
"nodeSelector": { | |
"kubernetes.io/os": "linux" | |
}, | |
"serviceAccountName": "coredns", | |
"serviceAccount": "coredns", | |
"nodeName": "kind-control-plane", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "CriticalAddonsOnly", | |
"operator": "Exists" | |
}, | |
{ | |
"key": "node-role.kubernetes.io/master", | |
"effect": "NoSchedule" | |
}, | |
{ | |
"key": "node.kubernetes.io/not-ready", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
}, | |
{ | |
"key": "node.kubernetes.io/unreachable", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
} | |
], | |
"priorityClassName": "system-cluster-critical", | |
"priority": 2000000000, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Running", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:52Z" | |
}, | |
{ | |
"type": "Ready", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:17Z" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:17Z" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:52Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "10.244.0.6", | |
"podIPs": [ | |
{ | |
"ip": "10.244.0.6" | |
} | |
], | |
"startTime": "2020-08-17T12:23:52Z", | |
"containerStatuses": [ | |
{ | |
"name": "coredns", | |
"state": { | |
"running": { | |
"startedAt": "2020-08-20T13:12:10Z" | |
} | |
}, | |
"lastState": { | |
"terminated": { | |
"exitCode": 255, | |
"reason": "Unknown", | |
"startedAt": "2020-08-17T12:23:52Z", | |
"finishedAt": "2020-08-20T13:11:56Z", | |
"containerID": "containerd://5a4c4e2a870430f6f19a5bc029a36d90fb41626916c7c1a650ba940955c6dde0" | |
} | |
}, | |
"ready": true, | |
"restartCount": 1, | |
"image": "k8s.gcr.io/coredns:1.6.7", | |
"imageID": "sha256:67da37a9a360e600e74464da48437257b00a754c77c40f60c65e4cb327c34bd5", | |
"containerID": "containerd://4fdb4c8c111a2a6f0195d493f86c9f45a57d7ec560f2a306fdd17af336cf914d", | |
"started": true | |
} | |
], | |
"qosClass": "Burstable" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"ReplicaSets": {}, | |
"ReplicationControllers": {}, | |
"StatefulSets": {}, | |
"DaemonSets": { | |
"kindnet": { | |
"metadata": { | |
"name": "kindnet", | |
"namespace": "kube-system", | |
"selfLink": "/apis/apps/v1/namespaces/kube-system/daemonsets/kindnet", | |
"uid": "760520d8-09df-48d5-9462-06987cb032dc", | |
"resourceVersion": "475087", | |
"generation": 1, | |
"creationTimestamp": "2020-08-17T12:23:18Z", | |
"labels": { | |
"app": "kindnet", | |
"k8s-app": "kindnet", | |
"tier": "node" | |
}, | |
"annotations": { | |
"deprecated.daemonset.template.generation": "1" | |
}, | |
"managedFields": [ | |
{ | |
"manager": "kubectl", | |
"operation": "Update", | |
"apiVersion": "apps/v1", | |
"time": "2020-08-17T12:23:18Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:deprecated.daemonset.template.generation": {} | |
}, | |
"f:labels": { | |
".": {}, | |
"f:app": {}, | |
"f:k8s-app": {}, | |
"f:tier": {} | |
} | |
}, | |
"f:spec": { | |
"f:revisionHistoryLimit": {}, | |
"f:selector": { | |
"f:matchLabels": { | |
".": {}, | |
"f:app": {} | |
} | |
}, | |
"f:template": { | |
"f:metadata": { | |
"f:labels": { | |
".": {}, | |
"f:app": {}, | |
"f:k8s-app": {}, | |
"f:tier": {} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"kindnet-cni\"}": { | |
".": {}, | |
"f:env": { | |
".": {}, | |
"k:{\"name\":\"HOST_IP\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:valueFrom": { | |
".": {}, | |
"f:fieldRef": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:fieldPath": {} | |
} | |
} | |
}, | |
"k:{\"name\":\"POD_IP\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:valueFrom": { | |
".": {}, | |
"f:fieldRef": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:fieldPath": {} | |
} | |
} | |
}, | |
"k:{\"name\":\"POD_SUBNET\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:value": {} | |
} | |
}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:resources": { | |
".": {}, | |
"f:limits": { | |
".": {}, | |
"f:cpu": {}, | |
"f:memory": {} | |
}, | |
"f:requests": { | |
".": {}, | |
"f:cpu": {}, | |
"f:memory": {} | |
} | |
}, | |
"f:securityContext": { | |
".": {}, | |
"f:capabilities": { | |
".": {}, | |
"f:add": {} | |
}, | |
"f:privileged": {} | |
}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/etc/cni/net.d\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
}, | |
"k:{\"mountPath\":\"/lib/modules\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
}, | |
"k:{\"mountPath\":\"/run/xtables.lock\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:hostNetwork": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:serviceAccount": {}, | |
"f:serviceAccountName": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:tolerations": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"cni-cfg\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"lib-modules\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"xtables-lock\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
} | |
} | |
} | |
}, | |
"f:updateStrategy": { | |
"f:rollingUpdate": { | |
".": {}, | |
"f:maxUnavailable": {} | |
}, | |
"f:type": {} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "apps/v1", | |
"time": "2020-08-19T10:42:19Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:status": { | |
"f:currentNumberScheduled": {}, | |
"f:desiredNumberScheduled": {}, | |
"f:numberAvailable": {}, | |
"f:numberReady": {}, | |
"f:observedGeneration": {}, | |
"f:updatedNumberScheduled": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"selector": { | |
"matchLabels": { | |
"app": "kindnet" | |
} | |
}, | |
"template": { | |
"metadata": { | |
"creationTimestamp": null, | |
"labels": { | |
"app": "kindnet", | |
"k8s-app": "kindnet", | |
"tier": "node" | |
} | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "cni-cfg", | |
"hostPath": { | |
"path": "/etc/cni/net.d", | |
"type": "" | |
} | |
}, | |
{ | |
"name": "xtables-lock", | |
"hostPath": { | |
"path": "/run/xtables.lock", | |
"type": "FileOrCreate" | |
} | |
}, | |
{ | |
"name": "lib-modules", | |
"hostPath": { | |
"path": "/lib/modules", | |
"type": "" | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "kindnet-cni", | |
"image": "kindest/kindnetd:0.5.4", | |
"env": [ | |
{ | |
"name": "HOST_IP", | |
"valueFrom": { | |
"fieldRef": { | |
"apiVersion": "v1", | |
"fieldPath": "status.hostIP" | |
} | |
} | |
}, | |
{ | |
"name": "POD_IP", | |
"valueFrom": { | |
"fieldRef": { | |
"apiVersion": "v1", | |
"fieldPath": "status.podIP" | |
} | |
} | |
}, | |
{ | |
"name": "POD_SUBNET", | |
"value": "10.244.0.0/16" | |
} | |
], | |
"resources": { | |
"limits": { | |
"cpu": "100m", | |
"memory": "50Mi" | |
}, | |
"requests": { | |
"cpu": "100m", | |
"memory": "50Mi" | |
} | |
}, | |
"volumeMounts": [ | |
{ | |
"name": "cni-cfg", | |
"mountPath": "/etc/cni/net.d" | |
}, | |
{ | |
"name": "xtables-lock", | |
"mountPath": "/run/xtables.lock" | |
}, | |
{ | |
"name": "lib-modules", | |
"readOnly": true, | |
"mountPath": "/lib/modules" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent", | |
"securityContext": { | |
"capabilities": { | |
"add": [ | |
"NET_RAW", | |
"NET_ADMIN" | |
] | |
}, | |
"privileged": false | |
} | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"serviceAccountName": "kindnet", | |
"serviceAccount": "kindnet", | |
"hostNetwork": true, | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"operator": "Exists", | |
"effect": "NoSchedule" | |
} | |
] | |
} | |
}, | |
"updateStrategy": { | |
"type": "RollingUpdate", | |
"rollingUpdate": { | |
"maxUnavailable": 1 | |
} | |
}, | |
"revisionHistoryLimit": 10 | |
}, | |
"status": { | |
"currentNumberScheduled": 1, | |
"numberMisscheduled": 0, | |
"desiredNumberScheduled": 1, | |
"numberReady": 1, | |
"observedGeneration": 1, | |
"updatedNumberScheduled": 1, | |
"numberAvailable": 1 | |
}, | |
"Pods": { | |
"kindnet-rwx2w": { | |
"metadata": { | |
"name": "kindnet-rwx2w", | |
"generateName": "kindnet-", | |
"namespace": "kube-system", | |
"selfLink": "/api/v1/namespaces/kube-system/pods/kindnet-rwx2w", | |
"uid": "1e6b6132-5f58-4b54-b4ef-afad6cabf98f", | |
"resourceVersion": "764969", | |
"creationTimestamp": "2020-08-17T12:23:35Z", | |
"labels": { | |
"app": "kindnet", | |
"controller-revision-hash": "7968cb6854", | |
"k8s-app": "kindnet", | |
"pod-template-generation": "1", | |
"tier": "node" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "apps/v1", | |
"kind": "DaemonSet", | |
"name": "kindnet", | |
"uid": "760520d8-09df-48d5-9462-06987cb032dc", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-17T12:23:35Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:generateName": {}, | |
"f:labels": { | |
".": {}, | |
"f:app": {}, | |
"f:controller-revision-hash": {}, | |
"f:k8s-app": {}, | |
"f:pod-template-generation": {}, | |
"f:tier": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"760520d8-09df-48d5-9462-06987cb032dc\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:affinity": { | |
".": {}, | |
"f:nodeAffinity": { | |
".": {}, | |
"f:requiredDuringSchedulingIgnoredDuringExecution": { | |
".": {}, | |
"f:nodeSelectorTerms": {} | |
} | |
} | |
}, | |
"f:containers": { | |
"k:{\"name\":\"kindnet-cni\"}": { | |
".": {}, | |
"f:env": { | |
".": {}, | |
"k:{\"name\":\"HOST_IP\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:valueFrom": { | |
".": {}, | |
"f:fieldRef": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:fieldPath": {} | |
} | |
} | |
}, | |
"k:{\"name\":\"POD_IP\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:valueFrom": { | |
".": {}, | |
"f:fieldRef": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:fieldPath": {} | |
} | |
} | |
}, | |
"k:{\"name\":\"POD_SUBNET\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:value": {} | |
} | |
}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:resources": { | |
".": {}, | |
"f:limits": { | |
".": {}, | |
"f:cpu": {}, | |
"f:memory": {} | |
}, | |
"f:requests": { | |
".": {}, | |
"f:cpu": {}, | |
"f:memory": {} | |
} | |
}, | |
"f:securityContext": { | |
".": {}, | |
"f:capabilities": { | |
".": {}, | |
"f:add": {} | |
}, | |
"f:privileged": {} | |
}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/etc/cni/net.d\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
}, | |
"k:{\"mountPath\":\"/lib/modules\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
}, | |
"k:{\"mountPath\":\"/run/xtables.lock\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:enableServiceLinks": {}, | |
"f:hostNetwork": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:serviceAccount": {}, | |
"f:serviceAccountName": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:tolerations": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"cni-cfg\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"lib-modules\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"xtables-lock\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T13:12:24Z", | |
"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\":\"172.18.0.2\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "cni-cfg", | |
"hostPath": { | |
"path": "/etc/cni/net.d", | |
"type": "" | |
} | |
}, | |
{ | |
"name": "xtables-lock", | |
"hostPath": { | |
"path": "/run/xtables.lock", | |
"type": "FileOrCreate" | |
} | |
}, | |
{ | |
"name": "lib-modules", | |
"hostPath": { | |
"path": "/lib/modules", | |
"type": "" | |
} | |
}, | |
{ | |
"name": "kindnet-token-6vdd6", | |
"secret": { | |
"secretName": "kindnet-token-6vdd6", | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "kindnet-cni", | |
"image": "kindest/kindnetd:0.5.4", | |
"env": [ | |
{ | |
"name": "HOST_IP", | |
"valueFrom": { | |
"fieldRef": { | |
"apiVersion": "v1", | |
"fieldPath": "status.hostIP" | |
} | |
} | |
}, | |
{ | |
"name": "POD_IP", | |
"valueFrom": { | |
"fieldRef": { | |
"apiVersion": "v1", | |
"fieldPath": "status.podIP" | |
} | |
} | |
}, | |
{ | |
"name": "POD_SUBNET", | |
"value": "10.244.0.0/16" | |
} | |
], | |
"resources": { | |
"limits": { | |
"cpu": "100m", | |
"memory": "50Mi" | |
}, | |
"requests": { | |
"cpu": "100m", | |
"memory": "50Mi" | |
} | |
}, | |
"volumeMounts": [ | |
{ | |
"name": "cni-cfg", | |
"mountPath": "/etc/cni/net.d" | |
}, | |
{ | |
"name": "xtables-lock", | |
"mountPath": "/run/xtables.lock" | |
}, | |
{ | |
"name": "lib-modules", | |
"readOnly": true, | |
"mountPath": "/lib/modules" | |
}, | |
{ | |
"name": "kindnet-token-6vdd6", | |
"readOnly": true, | |
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent", | |
"securityContext": { | |
"capabilities": { | |
"add": [ | |
"NET_RAW", | |
"NET_ADMIN" | |
] | |
}, | |
"privileged": false | |
} | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"serviceAccountName": "kindnet", | |
"serviceAccount": "kindnet", | |
"nodeName": "kind-control-plane", | |
"hostNetwork": true, | |
"securityContext": {}, | |
"affinity": { | |
"nodeAffinity": { | |
"requiredDuringSchedulingIgnoredDuringExecution": { | |
"nodeSelectorTerms": [ | |
{ | |
"matchFields": [ | |
{ | |
"key": "metadata.name", | |
"operator": "In", | |
"values": [ | |
"kind-control-plane" | |
] | |
} | |
] | |
} | |
] | |
} | |
} | |
}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"operator": "Exists", | |
"effect": "NoSchedule" | |
}, | |
{ | |
"key": "node.kubernetes.io/not-ready", | |
"operator": "Exists", | |
"effect": "NoExecute" | |
}, | |
{ | |
"key": "node.kubernetes.io/unreachable", | |
"operator": "Exists", | |
"effect": "NoExecute" | |
}, | |
{ | |
"key": "node.kubernetes.io/disk-pressure", | |
"operator": "Exists", | |
"effect": "NoSchedule" | |
}, | |
{ | |
"key": "node.kubernetes.io/memory-pressure", | |
"operator": "Exists", | |
"effect": "NoSchedule" | |
}, | |
{ | |
"key": "node.kubernetes.io/pid-pressure", | |
"operator": "Exists", | |
"effect": "NoSchedule" | |
}, | |
{ | |
"key": "node.kubernetes.io/unschedulable", | |
"operator": "Exists", | |
"effect": "NoSchedule" | |
}, | |
{ | |
"key": "node.kubernetes.io/network-unavailable", | |
"operator": "Exists", | |
"effect": "NoSchedule" | |
} | |
], | |
"priority": 0, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Running", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:35Z" | |
}, | |
{ | |
"type": "Ready", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:24Z" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:24Z" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:35Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "172.18.0.2", | |
"podIPs": [ | |
{ | |
"ip": "172.18.0.2" | |
} | |
], | |
"startTime": "2020-08-17T12:23:35Z", | |
"containerStatuses": [ | |
{ | |
"name": "kindnet-cni", | |
"state": { | |
"running": { | |
"startedAt": "2020-08-20T13:12:23Z" | |
} | |
}, | |
"lastState": { | |
"terminated": { | |
"exitCode": 2, | |
"reason": "Error", | |
"startedAt": "2020-08-20T13:12:09Z", | |
"finishedAt": "2020-08-20T13:12:10Z", | |
"containerID": "containerd://9aec8b826a3c503d2cbce2ddbb0a4ce8e052bc96e74e602eed620d274a368843" | |
} | |
}, | |
"ready": true, | |
"restartCount": 3, | |
"image": "docker.io/kindest/kindnetd:0.5.4", | |
"imageID": "sha256:2186a1a396deb58f1ea5eaf20193a518ca05049b46ccd754ec83366b5c8c13d5", | |
"containerID": "containerd://fac1182d282f45c9c0713ea98b3a5f6af1370ae46a6031a8326662bb116aefd3", | |
"started": true | |
} | |
], | |
"qosClass": "Guaranteed" | |
} | |
} | |
} | |
}, | |
"kube-proxy": { | |
"metadata": { | |
"name": "kube-proxy", | |
"namespace": "kube-system", | |
"selfLink": "/apis/apps/v1/namespaces/kube-system/daemonsets/kube-proxy", | |
"uid": "65582213-c7b6-477a-bcda-b0ddf6229f7d", | |
"resourceVersion": "439", | |
"generation": 1, | |
"creationTimestamp": "2020-08-17T12:23:17Z", | |
"labels": { | |
"k8s-app": "kube-proxy" | |
}, | |
"annotations": { | |
"deprecated.daemonset.template.generation": "1" | |
}, | |
"managedFields": [ | |
{ | |
"manager": "kubeadm", | |
"operation": "Update", | |
"apiVersion": "apps/v1", | |
"time": "2020-08-17T12:23:17Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:deprecated.daemonset.template.generation": {} | |
}, | |
"f:labels": { | |
".": {}, | |
"f:k8s-app": {} | |
} | |
}, | |
"f:spec": { | |
"f:revisionHistoryLimit": {}, | |
"f:selector": { | |
"f:matchLabels": { | |
".": {}, | |
"f:k8s-app": {} | |
} | |
}, | |
"f:template": { | |
"f:metadata": { | |
"f:labels": { | |
".": {}, | |
"f:k8s-app": {} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"kube-proxy\"}": { | |
".": {}, | |
"f:command": {}, | |
"f:env": { | |
".": {}, | |
"k:{\"name\":\"NODE_NAME\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:valueFrom": { | |
".": {}, | |
"f:fieldRef": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:fieldPath": {} | |
} | |
} | |
} | |
}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:resources": {}, | |
"f:securityContext": { | |
".": {}, | |
"f:privileged": {} | |
}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/lib/modules\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
}, | |
"k:{\"mountPath\":\"/run/xtables.lock\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
}, | |
"k:{\"mountPath\":\"/var/lib/kube-proxy\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:hostNetwork": {}, | |
"f:nodeSelector": { | |
".": {}, | |
"f:kubernetes.io/os": {} | |
}, | |
"f:priorityClassName": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:serviceAccount": {}, | |
"f:serviceAccountName": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:tolerations": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"kube-proxy\"}": { | |
".": {}, | |
"f:configMap": { | |
".": {}, | |
"f:defaultMode": {}, | |
"f:name": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"lib-modules\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"xtables-lock\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
} | |
} | |
} | |
}, | |
"f:updateStrategy": { | |
"f:rollingUpdate": { | |
".": {}, | |
"f:maxUnavailable": {} | |
}, | |
"f:type": {} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "apps/v1", | |
"time": "2020-08-17T12:23:37Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:status": { | |
"f:currentNumberScheduled": {}, | |
"f:desiredNumberScheduled": {}, | |
"f:numberAvailable": {}, | |
"f:numberReady": {}, | |
"f:observedGeneration": {}, | |
"f:updatedNumberScheduled": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"selector": { | |
"matchLabels": { | |
"k8s-app": "kube-proxy" | |
} | |
}, | |
"template": { | |
"metadata": { | |
"creationTimestamp": null, | |
"labels": { | |
"k8s-app": "kube-proxy" | |
} | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "kube-proxy", | |
"configMap": { | |
"name": "kube-proxy", | |
"defaultMode": 420 | |
} | |
}, | |
{ | |
"name": "xtables-lock", | |
"hostPath": { | |
"path": "/run/xtables.lock", | |
"type": "FileOrCreate" | |
} | |
}, | |
{ | |
"name": "lib-modules", | |
"hostPath": { | |
"path": "/lib/modules", | |
"type": "" | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "kube-proxy", | |
"image": "k8s.gcr.io/kube-proxy:v1.18.2", | |
"command": [ | |
"/usr/local/bin/kube-proxy", | |
"--config=/var/lib/kube-proxy/config.conf", | |
"--hostname-override=$(NODE_NAME)" | |
], | |
"env": [ | |
{ | |
"name": "NODE_NAME", | |
"valueFrom": { | |
"fieldRef": { | |
"apiVersion": "v1", | |
"fieldPath": "spec.nodeName" | |
} | |
} | |
} | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "kube-proxy", | |
"mountPath": "/var/lib/kube-proxy" | |
}, | |
{ | |
"name": "xtables-lock", | |
"mountPath": "/run/xtables.lock" | |
}, | |
{ | |
"name": "lib-modules", | |
"readOnly": true, | |
"mountPath": "/lib/modules" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent", | |
"securityContext": { | |
"privileged": true | |
} | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"nodeSelector": { | |
"kubernetes.io/os": "linux" | |
}, | |
"serviceAccountName": "kube-proxy", | |
"serviceAccount": "kube-proxy", | |
"hostNetwork": true, | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "CriticalAddonsOnly", | |
"operator": "Exists" | |
}, | |
{ | |
"operator": "Exists" | |
} | |
], | |
"priorityClassName": "system-node-critical" | |
} | |
}, | |
"updateStrategy": { | |
"type": "RollingUpdate", | |
"rollingUpdate": { | |
"maxUnavailable": 1 | |
} | |
}, | |
"revisionHistoryLimit": 10 | |
}, | |
"status": { | |
"currentNumberScheduled": 1, | |
"numberMisscheduled": 0, | |
"desiredNumberScheduled": 1, | |
"numberReady": 1, | |
"observedGeneration": 1, | |
"updatedNumberScheduled": 1, | |
"numberAvailable": 1 | |
}, | |
"Pods": { | |
"kube-proxy-rpk7n": { | |
"metadata": { | |
"name": "kube-proxy-rpk7n", | |
"generateName": "kube-proxy-", | |
"namespace": "kube-system", | |
"selfLink": "/api/v1/namespaces/kube-system/pods/kube-proxy-rpk7n", | |
"uid": "907e688a-108d-4daa-bad4-55402ba7be6f", | |
"resourceVersion": "764895", | |
"creationTimestamp": "2020-08-17T12:23:35Z", | |
"labels": { | |
"controller-revision-hash": "5f7b7d4f89", | |
"k8s-app": "kube-proxy", | |
"pod-template-generation": "1" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "apps/v1", | |
"kind": "DaemonSet", | |
"name": "kube-proxy", | |
"uid": "65582213-c7b6-477a-bcda-b0ddf6229f7d", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-17T12:23:35Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:generateName": {}, | |
"f:labels": { | |
".": {}, | |
"f:controller-revision-hash": {}, | |
"f:k8s-app": {}, | |
"f:pod-template-generation": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"65582213-c7b6-477a-bcda-b0ddf6229f7d\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:affinity": { | |
".": {}, | |
"f:nodeAffinity": { | |
".": {}, | |
"f:requiredDuringSchedulingIgnoredDuringExecution": { | |
".": {}, | |
"f:nodeSelectorTerms": {} | |
} | |
} | |
}, | |
"f:containers": { | |
"k:{\"name\":\"kube-proxy\"}": { | |
".": {}, | |
"f:command": {}, | |
"f:env": { | |
".": {}, | |
"k:{\"name\":\"NODE_NAME\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:valueFrom": { | |
".": {}, | |
"f:fieldRef": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:fieldPath": {} | |
} | |
} | |
} | |
}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:resources": {}, | |
"f:securityContext": { | |
".": {}, | |
"f:privileged": {} | |
}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/lib/modules\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
}, | |
"k:{\"mountPath\":\"/run/xtables.lock\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
}, | |
"k:{\"mountPath\":\"/var/lib/kube-proxy\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:enableServiceLinks": {}, | |
"f:hostNetwork": {}, | |
"f:nodeSelector": { | |
".": {}, | |
"f:kubernetes.io/os": {} | |
}, | |
"f:priorityClassName": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:serviceAccount": {}, | |
"f:serviceAccountName": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:tolerations": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"kube-proxy\"}": { | |
".": {}, | |
"f:configMap": { | |
".": {}, | |
"f:defaultMode": {}, | |
"f:name": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"lib-modules\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"xtables-lock\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T13:12:14Z", | |
"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\":\"172.18.0.3\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "kube-proxy", | |
"configMap": { | |
"name": "kube-proxy", | |
"defaultMode": 420 | |
} | |
}, | |
{ | |
"name": "xtables-lock", | |
"hostPath": { | |
"path": "/run/xtables.lock", | |
"type": "FileOrCreate" | |
} | |
}, | |
{ | |
"name": "lib-modules", | |
"hostPath": { | |
"path": "/lib/modules", | |
"type": "" | |
} | |
}, | |
{ | |
"name": "kube-proxy-token-jxtlv", | |
"secret": { | |
"secretName": "kube-proxy-token-jxtlv", | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "kube-proxy", | |
"image": "k8s.gcr.io/kube-proxy:v1.18.2", | |
"command": [ | |
"/usr/local/bin/kube-proxy", | |
"--config=/var/lib/kube-proxy/config.conf", | |
"--hostname-override=$(NODE_NAME)" | |
], | |
"env": [ | |
{ | |
"name": "NODE_NAME", | |
"valueFrom": { | |
"fieldRef": { | |
"apiVersion": "v1", | |
"fieldPath": "spec.nodeName" | |
} | |
} | |
} | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "kube-proxy", | |
"mountPath": "/var/lib/kube-proxy" | |
}, | |
{ | |
"name": "xtables-lock", | |
"mountPath": "/run/xtables.lock" | |
}, | |
{ | |
"name": "lib-modules", | |
"readOnly": true, | |
"mountPath": "/lib/modules" | |
}, | |
{ | |
"name": "kube-proxy-token-jxtlv", | |
"readOnly": true, | |
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent", | |
"securityContext": { | |
"privileged": true | |
} | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"nodeSelector": { | |
"kubernetes.io/os": "linux" | |
}, | |
"serviceAccountName": "kube-proxy", | |
"serviceAccount": "kube-proxy", | |
"nodeName": "kind-control-plane", | |
"hostNetwork": true, | |
"securityContext": {}, | |
"affinity": { | |
"nodeAffinity": { | |
"requiredDuringSchedulingIgnoredDuringExecution": { | |
"nodeSelectorTerms": [ | |
{ | |
"matchFields": [ | |
{ | |
"key": "metadata.name", | |
"operator": "In", | |
"values": [ | |
"kind-control-plane" | |
] | |
} | |
] | |
} | |
] | |
} | |
} | |
}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "CriticalAddonsOnly", | |
"operator": "Exists" | |
}, | |
{ | |
"operator": "Exists" | |
}, | |
{ | |
"key": "node.kubernetes.io/not-ready", | |
"operator": "Exists", | |
"effect": "NoExecute" | |
}, | |
{ | |
"key": "node.kubernetes.io/unreachable", | |
"operator": "Exists", | |
"effect": "NoExecute" | |
}, | |
{ | |
"key": "node.kubernetes.io/disk-pressure", | |
"operator": "Exists", | |
"effect": "NoSchedule" | |
}, | |
{ | |
"key": "node.kubernetes.io/memory-pressure", | |
"operator": "Exists", | |
"effect": "NoSchedule" | |
}, | |
{ | |
"key": "node.kubernetes.io/pid-pressure", | |
"operator": "Exists", | |
"effect": "NoSchedule" | |
}, | |
{ | |
"key": "node.kubernetes.io/unschedulable", | |
"operator": "Exists", | |
"effect": "NoSchedule" | |
}, | |
{ | |
"key": "node.kubernetes.io/network-unavailable", | |
"operator": "Exists", | |
"effect": "NoSchedule" | |
} | |
], | |
"priorityClassName": "system-node-critical", | |
"priority": 2000001000, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Running", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:35Z" | |
}, | |
{ | |
"type": "Ready", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:08Z" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:08Z" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:35Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "172.18.0.3", | |
"podIPs": [ | |
{ | |
"ip": "172.18.0.3" | |
} | |
], | |
"startTime": "2020-08-17T12:23:35Z", | |
"containerStatuses": [ | |
{ | |
"name": "kube-proxy", | |
"state": { | |
"running": { | |
"startedAt": "2020-08-20T13:12:07Z" | |
} | |
}, | |
"lastState": { | |
"terminated": { | |
"exitCode": 255, | |
"reason": "Unknown", | |
"startedAt": "2020-08-17T12:23:36Z", | |
"finishedAt": "2020-08-20T13:11:56Z", | |
"containerID": "containerd://5c83b3d7a5ed3fd1198da29402d9863937e52725eebe9c0bcf1f695f17629fdb" | |
} | |
}, | |
"ready": true, | |
"restartCount": 1, | |
"image": "k8s.gcr.io/kube-proxy:v1.18.2", | |
"imageID": "sha256:312d3d1cb6c7217e2f7514f20c08bc79d6bebdbfe8f77efbe235fee0738c3f8c", | |
"containerID": "containerd://d858237f398896a63bd09579d072632e6dc0c3fde4d87e38179e73b59c2565ff", | |
"started": true | |
} | |
], | |
"qosClass": "BestEffort" | |
} | |
} | |
} | |
} | |
}, | |
"Jobs": {}, | |
"CronJobs": {}, | |
"Pods": { | |
"etcd-kind-control-plane": { | |
"metadata": { | |
"name": "etcd-kind-control-plane", | |
"namespace": "kube-system", | |
"selfLink": "/api/v1/namespaces/kube-system/pods/etcd-kind-control-plane", | |
"uid": "1252111d-8821-48c1-aab1-4a5e4645eaad", | |
"resourceVersion": "765172", | |
"creationTimestamp": "2020-08-20T13:12:08Z", | |
"labels": { | |
"component": "etcd", | |
"tier": "control-plane" | |
}, | |
"annotations": { | |
"kubeadm.kubernetes.io/etcd.advertise-client-urls": "https://172.18.0.2:2379", | |
"kubernetes.io/config.hash": "4515908d4d65687ff1b48c2508e188cb", | |
"kubernetes.io/config.mirror": "4515908d4d65687ff1b48c2508e188cb", | |
"kubernetes.io/config.seen": "2020-08-20T13:11:56.21827866Z", | |
"kubernetes.io/config.source": "file" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "v1", | |
"kind": "Node", | |
"name": "kind-control-plane", | |
"uid": "3739d857-e2f5-4e82-888a-7fa388acf028", | |
"controller": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T13:13:12Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:kubeadm.kubernetes.io/etcd.advertise-client-urls": {}, | |
"f:kubernetes.io/config.hash": {}, | |
"f:kubernetes.io/config.mirror": {}, | |
"f:kubernetes.io/config.seen": {}, | |
"f:kubernetes.io/config.source": {} | |
}, | |
"f:labels": { | |
".": {}, | |
"f:component": {}, | |
"f:tier": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"3739d857-e2f5-4e82-888a-7fa388acf028\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"etcd\"}": { | |
".": {}, | |
"f:command": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:livenessProbe": { | |
".": {}, | |
"f:failureThreshold": {}, | |
"f:httpGet": { | |
".": {}, | |
"f:host": {}, | |
"f:path": {}, | |
"f:port": {}, | |
"f:scheme": {} | |
}, | |
"f:initialDelaySeconds": {}, | |
"f:periodSeconds": {}, | |
"f:successThreshold": {}, | |
"f:timeoutSeconds": {} | |
}, | |
"f:name": {}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/etc/kubernetes/pki/etcd\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
}, | |
"k:{\"mountPath\":\"/var/lib/etcd\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:enableServiceLinks": {}, | |
"f:hostNetwork": {}, | |
"f:nodeName": {}, | |
"f:priorityClassName": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:tolerations": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"etcd-certs\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"etcd-data\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
} | |
} | |
}, | |
"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\":\"PodScheduled\"}": { | |
".": {}, | |
"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\":\"172.18.0.2\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "etcd-certs", | |
"hostPath": { | |
"path": "/etc/kubernetes/pki/etcd", | |
"type": "DirectoryOrCreate" | |
} | |
}, | |
{ | |
"name": "etcd-data", | |
"hostPath": { | |
"path": "/var/lib/etcd", | |
"type": "DirectoryOrCreate" | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "etcd", | |
"image": "k8s.gcr.io/etcd:3.4.3-0", | |
"command": [ | |
"etcd", | |
"--advertise-client-urls=https://172.18.0.2:2379", | |
"--cert-file=/etc/kubernetes/pki/etcd/server.crt", | |
"--client-cert-auth=true", | |
"--data-dir=/var/lib/etcd", | |
"--initial-advertise-peer-urls=https://172.18.0.2:2380", | |
"--initial-cluster=kind-control-plane=https://172.18.0.2:2380", | |
"--key-file=/etc/kubernetes/pki/etcd/server.key", | |
"--listen-client-urls=https://127.0.0.1:2379,https://172.18.0.2:2379", | |
"--listen-metrics-urls=http://127.0.0.1:2381", | |
"--listen-peer-urls=https://172.18.0.2:2380", | |
"--name=kind-control-plane", | |
"--peer-cert-file=/etc/kubernetes/pki/etcd/peer.crt", | |
"--peer-client-cert-auth=true", | |
"--peer-key-file=/etc/kubernetes/pki/etcd/peer.key", | |
"--peer-trusted-ca-file=/etc/kubernetes/pki/etcd/ca.crt", | |
"--snapshot-count=10000", | |
"--trusted-ca-file=/etc/kubernetes/pki/etcd/ca.crt" | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "etcd-data", | |
"mountPath": "/var/lib/etcd" | |
}, | |
{ | |
"name": "etcd-certs", | |
"mountPath": "/etc/kubernetes/pki/etcd" | |
} | |
], | |
"livenessProbe": { | |
"httpGet": { | |
"path": "/health", | |
"port": 2381, | |
"host": "127.0.0.1", | |
"scheme": "HTTP" | |
}, | |
"initialDelaySeconds": 15, | |
"timeoutSeconds": 15, | |
"periodSeconds": 10, | |
"successThreshold": 1, | |
"failureThreshold": 8 | |
}, | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent" | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"nodeName": "kind-control-plane", | |
"hostNetwork": true, | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"operator": "Exists", | |
"effect": "NoExecute" | |
} | |
], | |
"priorityClassName": "system-cluster-critical", | |
"priority": 2000000000, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Running", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:02Z" | |
}, | |
{ | |
"type": "Ready", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:03Z" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:03Z" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:02Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "172.18.0.2", | |
"podIPs": [ | |
{ | |
"ip": "172.18.0.2" | |
} | |
], | |
"startTime": "2020-08-20T13:12:02Z", | |
"containerStatuses": [ | |
{ | |
"name": "etcd", | |
"state": { | |
"running": { | |
"startedAt": "2020-08-20T13:12:03Z" | |
} | |
}, | |
"lastState": {}, | |
"ready": true, | |
"restartCount": 0, | |
"image": "k8s.gcr.io/etcd:3.4.3-0", | |
"imageID": "sha256:303ce5db0e90dab1c5728ec70d21091201a23cdf8aeca70ab54943bbaaf0833f", | |
"containerID": "containerd://d127e4edc88929dfbd921ca71f26b054fda84cd933d1a26c5b8d9425534d3894", | |
"started": true | |
} | |
], | |
"qosClass": "BestEffort" | |
} | |
}, | |
"kube-apiserver-kind-control-plane": { | |
"metadata": { | |
"name": "kube-apiserver-kind-control-plane", | |
"namespace": "kube-system", | |
"selfLink": "/api/v1/namespaces/kube-system/pods/kube-apiserver-kind-control-plane", | |
"uid": "62286393-ddcc-4a50-8775-d798d65dee88", | |
"resourceVersion": "765224", | |
"creationTimestamp": "2020-08-20T13:12:08Z", | |
"labels": { | |
"component": "kube-apiserver", | |
"tier": "control-plane" | |
}, | |
"annotations": { | |
"kubeadm.kubernetes.io/kube-apiserver.advertise-address.endpoint": "172.18.0.2:6443", | |
"kubernetes.io/config.hash": "130ea4c7d9cb6966d85ac26f197a7bf7", | |
"kubernetes.io/config.mirror": "130ea4c7d9cb6966d85ac26f197a7bf7", | |
"kubernetes.io/config.seen": "2020-08-20T13:11:56.218279735Z", | |
"kubernetes.io/config.source": "file" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "v1", | |
"kind": "Node", | |
"name": "kind-control-plane", | |
"uid": "3739d857-e2f5-4e82-888a-7fa388acf028", | |
"controller": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T13:13:28Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:kubeadm.kubernetes.io/kube-apiserver.advertise-address.endpoint": {}, | |
"f:kubernetes.io/config.hash": {}, | |
"f:kubernetes.io/config.mirror": {}, | |
"f:kubernetes.io/config.seen": {}, | |
"f:kubernetes.io/config.source": {} | |
}, | |
"f:labels": { | |
".": {}, | |
"f:component": {}, | |
"f:tier": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"3739d857-e2f5-4e82-888a-7fa388acf028\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"kube-apiserver\"}": { | |
".": {}, | |
"f:command": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:livenessProbe": { | |
".": {}, | |
"f:failureThreshold": {}, | |
"f:httpGet": { | |
".": {}, | |
"f:host": {}, | |
"f:path": {}, | |
"f:port": {}, | |
"f:scheme": {} | |
}, | |
"f:initialDelaySeconds": {}, | |
"f:periodSeconds": {}, | |
"f:successThreshold": {}, | |
"f:timeoutSeconds": {} | |
}, | |
"f:name": {}, | |
"f:resources": { | |
".": {}, | |
"f:requests": { | |
".": {}, | |
"f:cpu": {} | |
} | |
}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/etc/ca-certificates\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
}, | |
"k:{\"mountPath\":\"/etc/kubernetes/pki\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
}, | |
"k:{\"mountPath\":\"/etc/ssl/certs\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
}, | |
"k:{\"mountPath\":\"/usr/local/share/ca-certificates\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
}, | |
"k:{\"mountPath\":\"/usr/share/ca-certificates\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:enableServiceLinks": {}, | |
"f:hostNetwork": {}, | |
"f:nodeName": {}, | |
"f:priorityClassName": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:tolerations": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"ca-certs\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"etc-ca-certificates\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"k8s-certs\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"usr-local-share-ca-certificates\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"usr-share-ca-certificates\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
} | |
} | |
}, | |
"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\":\"PodScheduled\"}": { | |
".": {}, | |
"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\":\"172.18.0.2\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "ca-certs", | |
"hostPath": { | |
"path": "/etc/ssl/certs", | |
"type": "DirectoryOrCreate" | |
} | |
}, | |
{ | |
"name": "etc-ca-certificates", | |
"hostPath": { | |
"path": "/etc/ca-certificates", | |
"type": "DirectoryOrCreate" | |
} | |
}, | |
{ | |
"name": "k8s-certs", | |
"hostPath": { | |
"path": "/etc/kubernetes/pki", | |
"type": "DirectoryOrCreate" | |
} | |
}, | |
{ | |
"name": "usr-local-share-ca-certificates", | |
"hostPath": { | |
"path": "/usr/local/share/ca-certificates", | |
"type": "DirectoryOrCreate" | |
} | |
}, | |
{ | |
"name": "usr-share-ca-certificates", | |
"hostPath": { | |
"path": "/usr/share/ca-certificates", | |
"type": "DirectoryOrCreate" | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "kube-apiserver", | |
"image": "k8s.gcr.io/kube-apiserver:v1.18.2", | |
"command": [ | |
"kube-apiserver", | |
"--advertise-address=172.18.0.2", | |
"--allow-privileged=true", | |
"--authorization-mode=Node,RBAC", | |
"--client-ca-file=/etc/kubernetes/pki/ca.crt", | |
"--enable-admission-plugins=NodeRestriction", | |
"--enable-bootstrap-token-auth=true", | |
"--etcd-cafile=/etc/kubernetes/pki/etcd/ca.crt", | |
"--etcd-certfile=/etc/kubernetes/pki/apiserver-etcd-client.crt", | |
"--etcd-keyfile=/etc/kubernetes/pki/apiserver-etcd-client.key", | |
"--etcd-servers=https://127.0.0.1:2379", | |
"--insecure-port=0", | |
"--kubelet-client-certificate=/etc/kubernetes/pki/apiserver-kubelet-client.crt", | |
"--kubelet-client-key=/etc/kubernetes/pki/apiserver-kubelet-client.key", | |
"--kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname", | |
"--proxy-client-cert-file=/etc/kubernetes/pki/front-proxy-client.crt", | |
"--proxy-client-key-file=/etc/kubernetes/pki/front-proxy-client.key", | |
"--requestheader-allowed-names=front-proxy-client", | |
"--requestheader-client-ca-file=/etc/kubernetes/pki/front-proxy-ca.crt", | |
"--requestheader-extra-headers-prefix=X-Remote-Extra-", | |
"--requestheader-group-headers=X-Remote-Group", | |
"--requestheader-username-headers=X-Remote-User", | |
"--secure-port=6443", | |
"--service-account-key-file=/etc/kubernetes/pki/sa.pub", | |
"--service-cluster-ip-range=10.96.0.0/12", | |
"--tls-cert-file=/etc/kubernetes/pki/apiserver.crt", | |
"--tls-private-key-file=/etc/kubernetes/pki/apiserver.key" | |
], | |
"resources": { | |
"requests": { | |
"cpu": "250m" | |
} | |
}, | |
"volumeMounts": [ | |
{ | |
"name": "ca-certs", | |
"readOnly": true, | |
"mountPath": "/etc/ssl/certs" | |
}, | |
{ | |
"name": "etc-ca-certificates", | |
"readOnly": true, | |
"mountPath": "/etc/ca-certificates" | |
}, | |
{ | |
"name": "k8s-certs", | |
"readOnly": true, | |
"mountPath": "/etc/kubernetes/pki" | |
}, | |
{ | |
"name": "usr-local-share-ca-certificates", | |
"readOnly": true, | |
"mountPath": "/usr/local/share/ca-certificates" | |
}, | |
{ | |
"name": "usr-share-ca-certificates", | |
"readOnly": true, | |
"mountPath": "/usr/share/ca-certificates" | |
} | |
], | |
"livenessProbe": { | |
"httpGet": { | |
"path": "/healthz", | |
"port": 6443, | |
"host": "172.18.0.2", | |
"scheme": "HTTPS" | |
}, | |
"initialDelaySeconds": 15, | |
"timeoutSeconds": 15, | |
"periodSeconds": 10, | |
"successThreshold": 1, | |
"failureThreshold": 8 | |
}, | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent" | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"nodeName": "kind-control-plane", | |
"hostNetwork": true, | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"operator": "Exists", | |
"effect": "NoExecute" | |
} | |
], | |
"priorityClassName": "system-cluster-critical", | |
"priority": 2000000000, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Running", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:02Z" | |
}, | |
{ | |
"type": "Ready", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:03Z" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:03Z" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:02Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "172.18.0.2", | |
"podIPs": [ | |
{ | |
"ip": "172.18.0.2" | |
} | |
], | |
"startTime": "2020-08-20T13:12:02Z", | |
"containerStatuses": [ | |
{ | |
"name": "kube-apiserver", | |
"state": { | |
"running": { | |
"startedAt": "2020-08-20T13:12:03Z" | |
} | |
}, | |
"lastState": {}, | |
"ready": true, | |
"restartCount": 0, | |
"image": "k8s.gcr.io/kube-apiserver:v1.18.2", | |
"imageID": "sha256:7df05884b1e25c456468f037faa511ba004b2dfab13be4d204fc47524b917cef", | |
"containerID": "containerd://83950453b038284f1e99ebcabf318eab8e8467959409e1b4f43a10d554d29858", | |
"started": true | |
} | |
], | |
"qosClass": "Burstable" | |
} | |
}, | |
"kube-controller-manager-kind-control-plane": { | |
"metadata": { | |
"name": "kube-controller-manager-kind-control-plane", | |
"namespace": "kube-system", | |
"selfLink": "/api/v1/namespaces/kube-system/pods/kube-controller-manager-kind-control-plane", | |
"uid": "259b3d15-231f-4eb5-a24b-d855314ed834", | |
"resourceVersion": "765219", | |
"creationTimestamp": "2020-08-17T12:23:24Z", | |
"labels": { | |
"component": "kube-controller-manager", | |
"tier": "control-plane" | |
}, | |
"annotations": { | |
"kubernetes.io/config.hash": "c445132e0b1e4c5d1c329aa433f4d175", | |
"kubernetes.io/config.mirror": "c445132e0b1e4c5d1c329aa433f4d175", | |
"kubernetes.io/config.seen": "2020-08-17T12:23:17.832100628Z", | |
"kubernetes.io/config.source": "file" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "v1", | |
"kind": "Node", | |
"name": "kind-control-plane", | |
"uid": "3739d857-e2f5-4e82-888a-7fa388acf028", | |
"controller": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T13:13:27Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:kubernetes.io/config.hash": {}, | |
"f:kubernetes.io/config.mirror": {}, | |
"f:kubernetes.io/config.seen": {}, | |
"f:kubernetes.io/config.source": {} | |
}, | |
"f:labels": { | |
".": {}, | |
"f:component": {}, | |
"f:tier": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"3739d857-e2f5-4e82-888a-7fa388acf028\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"kube-controller-manager\"}": { | |
".": {}, | |
"f:command": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:livenessProbe": { | |
".": {}, | |
"f:failureThreshold": {}, | |
"f:httpGet": { | |
".": {}, | |
"f:host": {}, | |
"f:path": {}, | |
"f:port": {}, | |
"f:scheme": {} | |
}, | |
"f:initialDelaySeconds": {}, | |
"f:periodSeconds": {}, | |
"f:successThreshold": {}, | |
"f:timeoutSeconds": {} | |
}, | |
"f:name": {}, | |
"f:resources": { | |
".": {}, | |
"f:requests": { | |
".": {}, | |
"f:cpu": {} | |
} | |
}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/etc/ca-certificates\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
}, | |
"k:{\"mountPath\":\"/etc/kubernetes/controller-manager.conf\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
}, | |
"k:{\"mountPath\":\"/etc/kubernetes/pki\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
}, | |
"k:{\"mountPath\":\"/etc/ssl/certs\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
}, | |
"k:{\"mountPath\":\"/usr/libexec/kubernetes/kubelet-plugins/volume/exec\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
}, | |
"k:{\"mountPath\":\"/usr/local/share/ca-certificates\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
}, | |
"k:{\"mountPath\":\"/usr/share/ca-certificates\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:enableServiceLinks": {}, | |
"f:hostNetwork": {}, | |
"f:nodeName": {}, | |
"f:priorityClassName": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:tolerations": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"ca-certs\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"etc-ca-certificates\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"flexvolume-dir\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"k8s-certs\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"kubeconfig\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"usr-local-share-ca-certificates\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"usr-share-ca-certificates\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
} | |
} | |
}, | |
"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\":\"PodScheduled\"}": { | |
".": {}, | |
"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\":\"172.18.0.2\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "ca-certs", | |
"hostPath": { | |
"path": "/etc/ssl/certs", | |
"type": "DirectoryOrCreate" | |
} | |
}, | |
{ | |
"name": "etc-ca-certificates", | |
"hostPath": { | |
"path": "/etc/ca-certificates", | |
"type": "DirectoryOrCreate" | |
} | |
}, | |
{ | |
"name": "flexvolume-dir", | |
"hostPath": { | |
"path": "/usr/libexec/kubernetes/kubelet-plugins/volume/exec", | |
"type": "DirectoryOrCreate" | |
} | |
}, | |
{ | |
"name": "k8s-certs", | |
"hostPath": { | |
"path": "/etc/kubernetes/pki", | |
"type": "DirectoryOrCreate" | |
} | |
}, | |
{ | |
"name": "kubeconfig", | |
"hostPath": { | |
"path": "/etc/kubernetes/controller-manager.conf", | |
"type": "FileOrCreate" | |
} | |
}, | |
{ | |
"name": "usr-local-share-ca-certificates", | |
"hostPath": { | |
"path": "/usr/local/share/ca-certificates", | |
"type": "DirectoryOrCreate" | |
} | |
}, | |
{ | |
"name": "usr-share-ca-certificates", | |
"hostPath": { | |
"path": "/usr/share/ca-certificates", | |
"type": "DirectoryOrCreate" | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "kube-controller-manager", | |
"image": "k8s.gcr.io/kube-controller-manager:v1.18.2", | |
"command": [ | |
"kube-controller-manager", | |
"--allocate-node-cidrs=true", | |
"--authentication-kubeconfig=/etc/kubernetes/controller-manager.conf", | |
"--authorization-kubeconfig=/etc/kubernetes/controller-manager.conf", | |
"--bind-address=127.0.0.1", | |
"--client-ca-file=/etc/kubernetes/pki/ca.crt", | |
"--cluster-cidr=10.244.0.0/16", | |
"--cluster-name=kind", | |
"--cluster-signing-cert-file=/etc/kubernetes/pki/ca.crt", | |
"--cluster-signing-key-file=/etc/kubernetes/pki/ca.key", | |
"--controllers=*,bootstrapsigner,tokencleaner", | |
"--enable-hostpath-provisioner=true", | |
"--kubeconfig=/etc/kubernetes/controller-manager.conf", | |
"--leader-elect=true", | |
"--node-cidr-mask-size=24", | |
"--requestheader-client-ca-file=/etc/kubernetes/pki/front-proxy-ca.crt", | |
"--root-ca-file=/etc/kubernetes/pki/ca.crt", | |
"--service-account-private-key-file=/etc/kubernetes/pki/sa.key", | |
"--service-cluster-ip-range=10.96.0.0/12", | |
"--use-service-account-credentials=true" | |
], | |
"resources": { | |
"requests": { | |
"cpu": "200m" | |
} | |
}, | |
"volumeMounts": [ | |
{ | |
"name": "ca-certs", | |
"readOnly": true, | |
"mountPath": "/etc/ssl/certs" | |
}, | |
{ | |
"name": "etc-ca-certificates", | |
"readOnly": true, | |
"mountPath": "/etc/ca-certificates" | |
}, | |
{ | |
"name": "flexvolume-dir", | |
"mountPath": "/usr/libexec/kubernetes/kubelet-plugins/volume/exec" | |
}, | |
{ | |
"name": "k8s-certs", | |
"readOnly": true, | |
"mountPath": "/etc/kubernetes/pki" | |
}, | |
{ | |
"name": "kubeconfig", | |
"readOnly": true, | |
"mountPath": "/etc/kubernetes/controller-manager.conf" | |
}, | |
{ | |
"name": "usr-local-share-ca-certificates", | |
"readOnly": true, | |
"mountPath": "/usr/local/share/ca-certificates" | |
}, | |
{ | |
"name": "usr-share-ca-certificates", | |
"readOnly": true, | |
"mountPath": "/usr/share/ca-certificates" | |
} | |
], | |
"livenessProbe": { | |
"httpGet": { | |
"path": "/healthz", | |
"port": 10257, | |
"host": "127.0.0.1", | |
"scheme": "HTTPS" | |
}, | |
"initialDelaySeconds": 15, | |
"timeoutSeconds": 15, | |
"periodSeconds": 10, | |
"successThreshold": 1, | |
"failureThreshold": 8 | |
}, | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent" | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"nodeName": "kind-control-plane", | |
"hostNetwork": true, | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"operator": "Exists", | |
"effect": "NoExecute" | |
} | |
], | |
"priorityClassName": "system-cluster-critical", | |
"priority": 2000000000, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Running", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:24Z" | |
}, | |
{ | |
"type": "Ready", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:24Z" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:24Z" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:24Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "172.18.0.2", | |
"podIPs": [ | |
{ | |
"ip": "172.18.0.2" | |
} | |
], | |
"startTime": "2020-08-17T12:23:24Z", | |
"containerStatuses": [ | |
{ | |
"name": "kube-controller-manager", | |
"state": { | |
"running": { | |
"startedAt": "2020-08-20T13:12:03Z" | |
} | |
}, | |
"lastState": { | |
"terminated": { | |
"exitCode": 255, | |
"reason": "Unknown", | |
"startedAt": "2020-08-17T12:23:11Z", | |
"finishedAt": "2020-08-20T13:11:56Z", | |
"containerID": "containerd://be058205ff6a69d42d7331d56f605b0472fc135c385fd1fafc1a206051bc3750" | |
} | |
}, | |
"ready": true, | |
"restartCount": 1, | |
"image": "k8s.gcr.io/kube-controller-manager:v1.18.2", | |
"imageID": "sha256:31fd71c85722f1879c6af82ade97ecc31ca468e8239930d35fde046f5b93a146", | |
"containerID": "containerd://6bb9f077a40983889f12b4f49e8a7e2a2b9c481d4bdcd446ee0c5b54075e4014", | |
"started": true | |
} | |
], | |
"qosClass": "Burstable" | |
} | |
}, | |
"kube-scheduler-kind-control-plane": { | |
"metadata": { | |
"name": "kube-scheduler-kind-control-plane", | |
"namespace": "kube-system", | |
"selfLink": "/api/v1/namespaces/kube-system/pods/kube-scheduler-kind-control-plane", | |
"uid": "f73e4830-c263-4427-801e-01cdaae45d9e", | |
"resourceVersion": "765245", | |
"creationTimestamp": "2020-08-17T12:23:24Z", | |
"labels": { | |
"component": "kube-scheduler", | |
"tier": "control-plane" | |
}, | |
"annotations": { | |
"kubernetes.io/config.hash": "155707e0c19147c8dc5e997f089c0ad1", | |
"kubernetes.io/config.mirror": "155707e0c19147c8dc5e997f089c0ad1", | |
"kubernetes.io/config.seen": "2020-08-17T12:23:17.832105255Z", | |
"kubernetes.io/config.source": "file" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "v1", | |
"kind": "Node", | |
"name": "kind-control-plane", | |
"uid": "3739d857-e2f5-4e82-888a-7fa388acf028", | |
"controller": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T13:13:36Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:kubernetes.io/config.hash": {}, | |
"f:kubernetes.io/config.mirror": {}, | |
"f:kubernetes.io/config.seen": {}, | |
"f:kubernetes.io/config.source": {} | |
}, | |
"f:labels": { | |
".": {}, | |
"f:component": {}, | |
"f:tier": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"3739d857-e2f5-4e82-888a-7fa388acf028\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"kube-scheduler\"}": { | |
".": {}, | |
"f:command": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:livenessProbe": { | |
".": {}, | |
"f:failureThreshold": {}, | |
"f:httpGet": { | |
".": {}, | |
"f:host": {}, | |
"f:path": {}, | |
"f:port": {}, | |
"f:scheme": {} | |
}, | |
"f:initialDelaySeconds": {}, | |
"f:periodSeconds": {}, | |
"f:successThreshold": {}, | |
"f:timeoutSeconds": {} | |
}, | |
"f:name": {}, | |
"f:resources": { | |
".": {}, | |
"f:requests": { | |
".": {}, | |
"f:cpu": {} | |
} | |
}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/etc/kubernetes/scheduler.conf\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {}, | |
"f:readOnly": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:enableServiceLinks": {}, | |
"f:hostNetwork": {}, | |
"f:nodeName": {}, | |
"f:priorityClassName": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:tolerations": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"kubeconfig\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
} | |
} | |
}, | |
"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\":\"PodScheduled\"}": { | |
".": {}, | |
"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\":\"172.18.0.2\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "kubeconfig", | |
"hostPath": { | |
"path": "/etc/kubernetes/scheduler.conf", | |
"type": "FileOrCreate" | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "kube-scheduler", | |
"image": "k8s.gcr.io/kube-scheduler:v1.18.2", | |
"command": [ | |
"kube-scheduler", | |
"--authentication-kubeconfig=/etc/kubernetes/scheduler.conf", | |
"--authorization-kubeconfig=/etc/kubernetes/scheduler.conf", | |
"--bind-address=127.0.0.1", | |
"--kubeconfig=/etc/kubernetes/scheduler.conf", | |
"--leader-elect=true" | |
], | |
"resources": { | |
"requests": { | |
"cpu": "100m" | |
} | |
}, | |
"volumeMounts": [ | |
{ | |
"name": "kubeconfig", | |
"readOnly": true, | |
"mountPath": "/etc/kubernetes/scheduler.conf" | |
} | |
], | |
"livenessProbe": { | |
"httpGet": { | |
"path": "/healthz", | |
"port": 10259, | |
"host": "127.0.0.1", | |
"scheme": "HTTPS" | |
}, | |
"initialDelaySeconds": 15, | |
"timeoutSeconds": 15, | |
"periodSeconds": 10, | |
"successThreshold": 1, | |
"failureThreshold": 8 | |
}, | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent" | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"nodeName": "kind-control-plane", | |
"hostNetwork": true, | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"operator": "Exists", | |
"effect": "NoExecute" | |
} | |
], | |
"priorityClassName": "system-cluster-critical", | |
"priority": 2000000000, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Running", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:24Z" | |
}, | |
{ | |
"type": "Ready", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:24Z" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:24Z" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:24Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "172.18.0.2", | |
"podIPs": [ | |
{ | |
"ip": "172.18.0.2" | |
} | |
], | |
"startTime": "2020-08-17T12:23:24Z", | |
"containerStatuses": [ | |
{ | |
"name": "kube-scheduler", | |
"state": { | |
"running": { | |
"startedAt": "2020-08-20T13:12:03Z" | |
} | |
}, | |
"lastState": { | |
"terminated": { | |
"exitCode": 255, | |
"reason": "Unknown", | |
"startedAt": "2020-08-17T12:23:11Z", | |
"finishedAt": "2020-08-20T13:11:56Z", | |
"containerID": "containerd://e53b38c8e29be9363a3135f359dfc9d12aa11ccb22171184ceae299a1cd9d5f3" | |
} | |
}, | |
"ready": true, | |
"restartCount": 1, | |
"image": "k8s.gcr.io/kube-scheduler:v1.18.2", | |
"imageID": "sha256:121edc8356c58baee60330191aeaf245aab147f9eb89281dccfe68875a657117", | |
"containerID": "containerd://4f202a5c8c5bdc65955b6dbffacb3fbdc5ac8364d874295c3a550304ea59490f", | |
"started": true | |
} | |
], | |
"qosClass": "Burstable" | |
} | |
} | |
} | |
}, | |
"local-path-storage": { | |
"Deployments": { | |
"local-path-provisioner": { | |
"metadata": { | |
"name": "local-path-provisioner", | |
"namespace": "local-path-storage", | |
"selfLink": "/apis/apps/v1/namespaces/local-path-storage/deployments/local-path-provisioner", | |
"uid": "f3584b55-9e03-4a35-9f19-d500c406dcc3", | |
"resourceVersion": "765104", | |
"generation": 1, | |
"creationTimestamp": "2020-08-17T12:23:19Z", | |
"annotations": { | |
"deployment.kubernetes.io/revision": "1", | |
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{},\"name\":\"local-path-provisioner\",\"namespace\":\"local-path-storage\"},\"spec\":{\"replicas\":1,\"selector\":{\"matchLabels\":{\"app\":\"local-path-provisioner\"}},\"template\":{\"metadata\":{\"labels\":{\"app\":\"local-path-provisioner\"}},\"spec\":{\"containers\":[{\"command\":[\"local-path-provisioner\",\"--debug\",\"start\",\"--helper-image\",\"k8s.gcr.io/debian-base:v2.0.0\",\"--config\",\"/etc/config/config.json\"],\"env\":[{\"name\":\"POD_NAMESPACE\",\"valueFrom\":{\"fieldRef\":{\"fieldPath\":\"metadata.namespace\"}}}],\"image\":\"rancher/local-path-provisioner:v0.0.12\",\"imagePullPolicy\":\"IfNotPresent\",\"name\":\"local-path-provisioner\",\"volumeMounts\":[{\"mountPath\":\"/etc/config/\",\"name\":\"config-volume\"}]}],\"nodeSelector\":{\"kubernetes.io/os\":\"linux\"},\"serviceAccountName\":\"local-path-provisioner-service-account\",\"tolerations\":[{\"effect\":\"NoSchedule\",\"key\":\"node-role.kubernetes.io/master\",\"operator\":\"Equal\"}],\"volumes\":[{\"configMap\":{\"name\":\"local-path-config\"},\"name\":\"config-volume\"}]}}}}\n" | |
}, | |
"managedFields": [ | |
{ | |
"manager": "kubectl", | |
"operation": "Update", | |
"apiVersion": "apps/v1", | |
"time": "2020-08-17T12:23:19Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:kubectl.kubernetes.io/last-applied-configuration": {} | |
} | |
}, | |
"f:spec": { | |
"f:progressDeadlineSeconds": {}, | |
"f:replicas": {}, | |
"f:revisionHistoryLimit": {}, | |
"f:selector": { | |
"f:matchLabels": { | |
".": {}, | |
"f:app": {} | |
} | |
}, | |
"f:strategy": { | |
"f:rollingUpdate": { | |
".": {}, | |
"f:maxSurge": {}, | |
"f:maxUnavailable": {} | |
}, | |
"f:type": {} | |
}, | |
"f:template": { | |
"f:metadata": { | |
"f:labels": { | |
".": {}, | |
"f:app": {} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"local-path-provisioner\"}": { | |
".": {}, | |
"f:command": {}, | |
"f:env": { | |
".": {}, | |
"k:{\"name\":\"POD_NAMESPACE\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:valueFrom": { | |
".": {}, | |
"f:fieldRef": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:fieldPath": {} | |
} | |
} | |
} | |
}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/etc/config/\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:nodeSelector": { | |
".": {}, | |
"f:kubernetes.io/os": {} | |
}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:serviceAccount": {}, | |
"f:serviceAccountName": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:tolerations": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"config-volume\"}": { | |
".": {}, | |
"f:configMap": { | |
".": {}, | |
"f:defaultMode": {}, | |
"f:name": {} | |
}, | |
"f:name": {} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "apps/v1", | |
"time": "2020-08-20T13:12:51Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
"f:deployment.kubernetes.io/revision": {} | |
} | |
}, | |
"f:status": { | |
"f:availableReplicas": {}, | |
"f:conditions": { | |
".": {}, | |
"k:{\"type\":\"Available\"}": { | |
".": {}, | |
"f:lastTransitionTime": {}, | |
"f:lastUpdateTime": {}, | |
"f:message": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
}, | |
"k:{\"type\":\"Progressing\"}": { | |
".": {}, | |
"f:lastTransitionTime": {}, | |
"f:lastUpdateTime": {}, | |
"f:message": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
} | |
}, | |
"f:observedGeneration": {}, | |
"f:readyReplicas": {}, | |
"f:replicas": {}, | |
"f:updatedReplicas": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"replicas": 1, | |
"selector": { | |
"matchLabels": { | |
"app": "local-path-provisioner" | |
} | |
}, | |
"template": { | |
"metadata": { | |
"creationTimestamp": null, | |
"labels": { | |
"app": "local-path-provisioner" | |
} | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "config-volume", | |
"configMap": { | |
"name": "local-path-config", | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "local-path-provisioner", | |
"image": "rancher/local-path-provisioner:v0.0.12", | |
"command": [ | |
"local-path-provisioner", | |
"--debug", | |
"start", | |
"--helper-image", | |
"k8s.gcr.io/debian-base:v2.0.0", | |
"--config", | |
"/etc/config/config.json" | |
], | |
"env": [ | |
{ | |
"name": "POD_NAMESPACE", | |
"valueFrom": { | |
"fieldRef": { | |
"apiVersion": "v1", | |
"fieldPath": "metadata.namespace" | |
} | |
} | |
} | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "config-volume", | |
"mountPath": "/etc/config/" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent" | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"nodeSelector": { | |
"kubernetes.io/os": "linux" | |
}, | |
"serviceAccountName": "local-path-provisioner-service-account", | |
"serviceAccount": "local-path-provisioner-service-account", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "node-role.kubernetes.io/master", | |
"operator": "Equal", | |
"effect": "NoSchedule" | |
} | |
] | |
} | |
}, | |
"strategy": { | |
"type": "RollingUpdate", | |
"rollingUpdate": { | |
"maxUnavailable": "25%", | |
"maxSurge": "25%" | |
} | |
}, | |
"revisionHistoryLimit": 10, | |
"progressDeadlineSeconds": 600 | |
}, | |
"status": { | |
"observedGeneration": 1, | |
"replicas": 1, | |
"updatedReplicas": 1, | |
"readyReplicas": 1, | |
"availableReplicas": 1, | |
"conditions": [ | |
{ | |
"type": "Progressing", | |
"status": "True", | |
"lastUpdateTime": "2020-08-17T12:23:50Z", | |
"lastTransitionTime": "2020-08-17T12:23:35Z", | |
"reason": "NewReplicaSetAvailable", | |
"message": "ReplicaSet \"local-path-provisioner-bd4bb6b75\" has successfully progressed." | |
}, | |
{ | |
"type": "Available", | |
"status": "True", | |
"lastUpdateTime": "2020-08-20T13:12:51Z", | |
"lastTransitionTime": "2020-08-20T13:12:51Z", | |
"reason": "MinimumReplicasAvailable", | |
"message": "Deployment has minimum availability." | |
} | |
] | |
}, | |
"ReplicaSets": { | |
"local-path-provisioner-bd4bb6b75": { | |
"metadata": { | |
"name": "local-path-provisioner-bd4bb6b75", | |
"namespace": "local-path-storage", | |
"selfLink": "/apis/apps/v1/namespaces/local-path-storage/replicasets/local-path-provisioner-bd4bb6b75", | |
"uid": "29c29958-21b9-4aeb-b48b-dbe56b3a505e", | |
"resourceVersion": "765103", | |
"generation": 1, | |
"creationTimestamp": "2020-08-17T12:23:35Z", | |
"labels": { | |
"app": "local-path-provisioner", | |
"pod-template-hash": "bd4bb6b75" | |
}, | |
"annotations": { | |
"deployment.kubernetes.io/desired-replicas": "1", | |
"deployment.kubernetes.io/max-replicas": "2", | |
"deployment.kubernetes.io/revision": "1" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "apps/v1", | |
"kind": "Deployment", | |
"name": "local-path-provisioner", | |
"uid": "f3584b55-9e03-4a35-9f19-d500c406dcc3", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "apps/v1", | |
"time": "2020-08-20T13:12:51Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:deployment.kubernetes.io/desired-replicas": {}, | |
"f:deployment.kubernetes.io/max-replicas": {}, | |
"f:deployment.kubernetes.io/revision": {} | |
}, | |
"f:labels": { | |
".": {}, | |
"f:app": {}, | |
"f:pod-template-hash": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"f3584b55-9e03-4a35-9f19-d500c406dcc3\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:replicas": {}, | |
"f:selector": { | |
"f:matchLabels": { | |
".": {}, | |
"f:app": {}, | |
"f:pod-template-hash": {} | |
} | |
}, | |
"f:template": { | |
"f:metadata": { | |
"f:labels": { | |
".": {}, | |
"f:app": {}, | |
"f:pod-template-hash": {} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"local-path-provisioner\"}": { | |
".": {}, | |
"f:command": {}, | |
"f:env": { | |
".": {}, | |
"k:{\"name\":\"POD_NAMESPACE\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:valueFrom": { | |
".": {}, | |
"f:fieldRef": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:fieldPath": {} | |
} | |
} | |
} | |
}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/etc/config/\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:nodeSelector": { | |
".": {}, | |
"f:kubernetes.io/os": {} | |
}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:serviceAccount": {}, | |
"f:serviceAccountName": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:tolerations": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"config-volume\"}": { | |
".": {}, | |
"f:configMap": { | |
".": {}, | |
"f:defaultMode": {}, | |
"f:name": {} | |
}, | |
"f:name": {} | |
} | |
} | |
} | |
} | |
}, | |
"f:status": { | |
"f:availableReplicas": {}, | |
"f:fullyLabeledReplicas": {}, | |
"f:observedGeneration": {}, | |
"f:readyReplicas": {}, | |
"f:replicas": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"replicas": 1, | |
"selector": { | |
"matchLabels": { | |
"app": "local-path-provisioner", | |
"pod-template-hash": "bd4bb6b75" | |
} | |
}, | |
"template": { | |
"metadata": { | |
"creationTimestamp": null, | |
"labels": { | |
"app": "local-path-provisioner", | |
"pod-template-hash": "bd4bb6b75" | |
} | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "config-volume", | |
"configMap": { | |
"name": "local-path-config", | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "local-path-provisioner", | |
"image": "rancher/local-path-provisioner:v0.0.12", | |
"command": [ | |
"local-path-provisioner", | |
"--debug", | |
"start", | |
"--helper-image", | |
"k8s.gcr.io/debian-base:v2.0.0", | |
"--config", | |
"/etc/config/config.json" | |
], | |
"env": [ | |
{ | |
"name": "POD_NAMESPACE", | |
"valueFrom": { | |
"fieldRef": { | |
"apiVersion": "v1", | |
"fieldPath": "metadata.namespace" | |
} | |
} | |
} | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "config-volume", | |
"mountPath": "/etc/config/" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent" | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"nodeSelector": { | |
"kubernetes.io/os": "linux" | |
}, | |
"serviceAccountName": "local-path-provisioner-service-account", | |
"serviceAccount": "local-path-provisioner-service-account", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "node-role.kubernetes.io/master", | |
"operator": "Equal", | |
"effect": "NoSchedule" | |
} | |
] | |
} | |
} | |
}, | |
"status": { | |
"replicas": 1, | |
"fullyLabeledReplicas": 1, | |
"readyReplicas": 1, | |
"availableReplicas": 1, | |
"observedGeneration": 1 | |
}, | |
"Pods": { | |
"local-path-provisioner-bd4bb6b75-db57l": { | |
"metadata": { | |
"name": "local-path-provisioner-bd4bb6b75-db57l", | |
"generateName": "local-path-provisioner-bd4bb6b75-", | |
"namespace": "local-path-storage", | |
"selfLink": "/api/v1/namespaces/local-path-storage/pods/local-path-provisioner-bd4bb6b75-db57l", | |
"uid": "a440e2ad-f6c3-4990-8a9a-1f609b27f622", | |
"resourceVersion": "765102", | |
"creationTimestamp": "2020-08-17T12:23:35Z", | |
"labels": { | |
"app": "local-path-provisioner", | |
"pod-template-hash": "bd4bb6b75" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "apps/v1", | |
"kind": "ReplicaSet", | |
"name": "local-path-provisioner-bd4bb6b75", | |
"uid": "29c29958-21b9-4aeb-b48b-dbe56b3a505e", | |
"controller": true, | |
"blockOwnerDeletion": true | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kube-controller-manager", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-17T12:23:35Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:generateName": {}, | |
"f:labels": { | |
".": {}, | |
"f:app": {}, | |
"f:pod-template-hash": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"29c29958-21b9-4aeb-b48b-dbe56b3a505e\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:blockOwnerDeletion": {}, | |
"f:controller": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"local-path-provisioner\"}": { | |
".": {}, | |
"f:command": {}, | |
"f:env": { | |
".": {}, | |
"k:{\"name\":\"POD_NAMESPACE\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:valueFrom": { | |
".": {}, | |
"f:fieldRef": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:fieldPath": {} | |
} | |
} | |
} | |
}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/etc/config/\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:enableServiceLinks": {}, | |
"f:nodeSelector": { | |
".": {}, | |
"f:kubernetes.io/os": {} | |
}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:serviceAccount": {}, | |
"f:serviceAccountName": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:tolerations": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"config-volume\"}": { | |
".": {}, | |
"f:configMap": { | |
".": {}, | |
"f:defaultMode": {}, | |
"f:name": {} | |
}, | |
"f:name": {} | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kube-scheduler", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-17T12:23:35Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:status": { | |
"f:conditions": { | |
".": {}, | |
"k:{\"type\":\"PodScheduled\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:message": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T13:12:51Z", | |
"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.244.0.3\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "config-volume", | |
"configMap": { | |
"name": "local-path-config", | |
"defaultMode": 420 | |
} | |
}, | |
{ | |
"name": "local-path-provisioner-service-account-token-78tww", | |
"secret": { | |
"secretName": "local-path-provisioner-service-account-token-78tww", | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "local-path-provisioner", | |
"image": "rancher/local-path-provisioner:v0.0.12", | |
"command": [ | |
"local-path-provisioner", | |
"--debug", | |
"start", | |
"--helper-image", | |
"k8s.gcr.io/debian-base:v2.0.0", | |
"--config", | |
"/etc/config/config.json" | |
], | |
"env": [ | |
{ | |
"name": "POD_NAMESPACE", | |
"valueFrom": { | |
"fieldRef": { | |
"apiVersion": "v1", | |
"fieldPath": "metadata.namespace" | |
} | |
} | |
} | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "config-volume", | |
"mountPath": "/etc/config/" | |
}, | |
{ | |
"name": "local-path-provisioner-service-account-token-78tww", | |
"readOnly": true, | |
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent" | |
} | |
], | |
"restartPolicy": "Always", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"nodeSelector": { | |
"kubernetes.io/os": "linux" | |
}, | |
"serviceAccountName": "local-path-provisioner-service-account", | |
"serviceAccount": "local-path-provisioner-service-account", | |
"nodeName": "kind-control-plane", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "node-role.kubernetes.io/master", | |
"operator": "Equal", | |
"effect": "NoSchedule" | |
}, | |
{ | |
"key": "node.kubernetes.io/not-ready", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
}, | |
{ | |
"key": "node.kubernetes.io/unreachable", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
} | |
], | |
"priority": 0, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Running", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:48Z" | |
}, | |
{ | |
"type": "Ready", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:51Z" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T13:12:51Z" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-17T12:23:48Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "10.244.0.3", | |
"podIPs": [ | |
{ | |
"ip": "10.244.0.3" | |
} | |
], | |
"startTime": "2020-08-17T12:23:48Z", | |
"containerStatuses": [ | |
{ | |
"name": "local-path-provisioner", | |
"state": { | |
"running": { | |
"startedAt": "2020-08-20T13:12:50Z" | |
} | |
}, | |
"lastState": { | |
"terminated": { | |
"exitCode": 1, | |
"reason": "Error", | |
"startedAt": "2020-08-20T13:12:07Z", | |
"finishedAt": "2020-08-20T13:12:38Z", | |
"containerID": "containerd://9f349dcf83bc4c8a12049bb9e8233f420153bac3e7b5d719d59e9f9a47196185" | |
} | |
}, | |
"ready": true, | |
"restartCount": 2, | |
"image": "docker.io/rancher/local-path-provisioner:v0.0.12", | |
"imageID": "sha256:db10073a6f829f72cc09655e92fbc3c74410c647c626b431ecd5257d1f6b59c1", | |
"containerID": "containerd://6e80bbb26227252802e7a352b2e69bb4e14387bf2b32e72cb0492e8ab16f242d", | |
"started": true | |
} | |
], | |
"qosClass": "BestEffort" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"ReplicaSets": {}, | |
"ReplicationControllers": {}, | |
"StatefulSets": {}, | |
"DaemonSets": {}, | |
"Jobs": {}, | |
"CronJobs": {}, | |
"Pods": {} | |
}, | |
"sonobuoy": { | |
"Deployments": {}, | |
"ReplicaSets": {}, | |
"ReplicationControllers": {}, | |
"StatefulSets": {}, | |
"DaemonSets": {}, | |
"Jobs": {}, | |
"CronJobs": {}, | |
"Pods": { | |
"sonobuoy": { | |
"metadata": { | |
"name": "sonobuoy", | |
"namespace": "sonobuoy", | |
"selfLink": "/api/v1/namespaces/sonobuoy/pods/sonobuoy", | |
"uid": "9598dee0-aa98-48e4-8d8c-aa5acf688bc9", | |
"resourceVersion": "791820", | |
"creationTimestamp": "2020-08-20T15:36:48Z", | |
"labels": { | |
"component": "sonobuoy", | |
"run": "sonobuoy-master", | |
"sonobuoy-component": "aggregator", | |
"tier": "analysis" | |
}, | |
"annotations": { | |
"sonobuoy.hept.io/status": "{\"plugins\":[{\"plugin\":\"cluster-inventory\",\"node\":\"global\",\"status\":\"running\",\"result-status\":\"\",\"result-counts\":null}],\"status\":\"running\",\"tar-info\":{\"name\":\"\",\"created\":\"0001-01-01T00:00:00Z\",\"sha256\":\"\",\"size\":0}}" | |
}, | |
"managedFields": [ | |
{ | |
"manager": "sonobuoy", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T15:36:48Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:sonobuoy.hept.io/status": {} | |
}, | |
"f:labels": { | |
".": {}, | |
"f:component": {}, | |
"f:run": {}, | |
"f:sonobuoy-component": {}, | |
"f:tier": {} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"kube-sonobuoy\"}": { | |
".": {}, | |
"f:env": { | |
".": {}, | |
"k:{\"name\":\"SONOBUOY_ADVERTISE_IP\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:valueFrom": { | |
".": {}, | |
"f:fieldRef": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:fieldPath": {} | |
} | |
} | |
} | |
}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/etc/sonobuoy\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
}, | |
"k:{\"mountPath\":\"/plugins.d\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
}, | |
"k:{\"mountPath\":\"/tmp/sonobuoy\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:enableServiceLinks": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:serviceAccount": {}, | |
"f:serviceAccountName": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:tolerations": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"output-volume\"}": { | |
".": {}, | |
"f:emptyDir": {}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"sonobuoy-config-volume\"}": { | |
".": {}, | |
"f:configMap": { | |
".": {}, | |
"f:defaultMode": {}, | |
"f:name": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"sonobuoy-plugins-volume\"}": { | |
".": {}, | |
"f:configMap": { | |
".": {}, | |
"f:defaultMode": {}, | |
"f:name": {} | |
}, | |
"f:name": {} | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"manager": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T15:36:49Z", | |
"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.244.0.53\"}": { | |
".": {}, | |
"f:ip": {} | |
} | |
}, | |
"f:startTime": {} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "sonobuoy-config-volume", | |
"configMap": { | |
"name": "sonobuoy-config-cm", | |
"defaultMode": 420 | |
} | |
}, | |
{ | |
"name": "sonobuoy-plugins-volume", | |
"configMap": { | |
"name": "sonobuoy-plugins-cm", | |
"defaultMode": 420 | |
} | |
}, | |
{ | |
"name": "output-volume", | |
"emptyDir": {} | |
}, | |
{ | |
"name": "sonobuoy-serviceaccount-token-flszc", | |
"secret": { | |
"secretName": "sonobuoy-serviceaccount-token-flszc", | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "kube-sonobuoy", | |
"image": "sonobuoy/sonobuoy:v0.18.4", | |
"env": [ | |
{ | |
"name": "SONOBUOY_ADVERTISE_IP", | |
"valueFrom": { | |
"fieldRef": { | |
"apiVersion": "v1", | |
"fieldPath": "status.podIP" | |
} | |
} | |
} | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "sonobuoy-config-volume", | |
"mountPath": "/etc/sonobuoy" | |
}, | |
{ | |
"name": "sonobuoy-plugins-volume", | |
"mountPath": "/plugins.d" | |
}, | |
{ | |
"name": "output-volume", | |
"mountPath": "/tmp/sonobuoy" | |
}, | |
{ | |
"name": "sonobuoy-serviceaccount-token-flszc", | |
"readOnly": true, | |
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent" | |
} | |
], | |
"restartPolicy": "Never", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"serviceAccountName": "sonobuoy-serviceaccount", | |
"serviceAccount": "sonobuoy-serviceaccount", | |
"nodeName": "kind-control-plane", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "kubernetes.io/e2e-evict-taint-key", | |
"operator": "Exists" | |
}, | |
{ | |
"key": "node.kubernetes.io/not-ready", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
}, | |
{ | |
"key": "node.kubernetes.io/unreachable", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
} | |
], | |
"priority": 0, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Running", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:36:48Z" | |
}, | |
{ | |
"type": "Ready", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:36:48Z" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:36:48Z" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:36:48Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"podIP": "10.244.0.53", | |
"podIPs": [ | |
{ | |
"ip": "10.244.0.53" | |
} | |
], | |
"startTime": "2020-08-20T15:36:48Z", | |
"containerStatuses": [ | |
{ | |
"name": "kube-sonobuoy", | |
"state": { | |
"running": { | |
"startedAt": "2020-08-20T15:36:48Z" | |
} | |
}, | |
"lastState": {}, | |
"ready": true, | |
"restartCount": 0, | |
"image": "docker.io/sonobuoy/sonobuoy:v0.18.4", | |
"imageID": "docker.io/sonobuoy/sonobuoy@sha256:929e6fd1b05721cedc873e6d3a886228bcfd517bde6b961f33b24e1401f8af9d", | |
"containerID": "containerd://c62b8fe14985513820b18964b4127de7c2d39dd2e1f88f270303477ca03de9eb", | |
"started": true | |
} | |
], | |
"qosClass": "BestEffort" | |
} | |
}, | |
"sonobuoy-cluster-inventory-job-8c98a906138f49f3": { | |
"metadata": { | |
"name": "sonobuoy-cluster-inventory-job-8c98a906138f49f3", | |
"namespace": "sonobuoy", | |
"selfLink": "/api/v1/namespaces/sonobuoy/pods/sonobuoy-cluster-inventory-job-8c98a906138f49f3", | |
"uid": "b2a51128-0b2e-466f-abf6-9c231faa390b", | |
"resourceVersion": "791819", | |
"creationTimestamp": "2020-08-20T15:36:48Z", | |
"labels": { | |
"component": "sonobuoy", | |
"sonobuoy-component": "plugin", | |
"sonobuoy-plugin": "cluster-inventory", | |
"sonobuoy-run": "8c98a906138f49f3", | |
"tier": "analysis" | |
}, | |
"annotations": { | |
"sonobuoy-driver": "Job", | |
"sonobuoy-plugin": "cluster-inventory" | |
}, | |
"ownerReferences": [ | |
{ | |
"apiVersion": "v1", | |
"kind": "Pod", | |
"name": "sonobuoy", | |
"uid": "9598dee0-aa98-48e4-8d8c-aa5acf688bc9" | |
} | |
], | |
"managedFields": [ | |
{ | |
"manager": "kubelet", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T15:36:48Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:status": { | |
"f:conditions": { | |
"k:{\"type\":\"ContainersReady\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:message": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
}, | |
"k:{\"type\":\"Initialized\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:status": {}, | |
"f:type": {} | |
}, | |
"k:{\"type\":\"Ready\"}": { | |
".": {}, | |
"f:lastProbeTime": {}, | |
"f:lastTransitionTime": {}, | |
"f:message": {}, | |
"f:reason": {}, | |
"f:status": {}, | |
"f:type": {} | |
} | |
}, | |
"f:containerStatuses": {}, | |
"f:hostIP": {}, | |
"f:startTime": {} | |
} | |
} | |
}, | |
{ | |
"manager": "sonobuoy", | |
"operation": "Update", | |
"apiVersion": "v1", | |
"time": "2020-08-20T15:36:48Z", | |
"fieldsType": "FieldsV1", | |
"fieldsV1": { | |
"f:metadata": { | |
"f:annotations": { | |
".": {}, | |
"f:sonobuoy-driver": {}, | |
"f:sonobuoy-plugin": {} | |
}, | |
"f:labels": { | |
".": {}, | |
"f:component": {}, | |
"f:sonobuoy-component": {}, | |
"f:sonobuoy-plugin": {}, | |
"f:sonobuoy-run": {}, | |
"f:tier": {} | |
}, | |
"f:ownerReferences": { | |
".": {}, | |
"k:{\"uid\":\"9598dee0-aa98-48e4-8d8c-aa5acf688bc9\"}": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:kind": {}, | |
"f:name": {}, | |
"f:uid": {} | |
} | |
} | |
}, | |
"f:spec": { | |
"f:containers": { | |
"k:{\"name\":\"plugin\"}": { | |
".": {}, | |
"f:args": {}, | |
"f:command": {}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/etc/cni/net.d\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
}, | |
"k:{\"mountPath\":\"/opt/cni/bin\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
}, | |
"k:{\"mountPath\":\"/tmp/results\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
} | |
} | |
}, | |
"k:{\"name\":\"sonobuoy-worker\"}": { | |
".": {}, | |
"f:args": {}, | |
"f:command": {}, | |
"f:env": { | |
".": {}, | |
"k:{\"name\":\"AGGREGATOR_URL\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:value": {} | |
}, | |
"k:{\"name\":\"CA_CERT\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:value": {} | |
}, | |
"k:{\"name\":\"CLIENT_CERT\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:valueFrom": { | |
".": {}, | |
"f:secretKeyRef": { | |
".": {}, | |
"f:key": {}, | |
"f:name": {} | |
} | |
} | |
}, | |
"k:{\"name\":\"CLIENT_KEY\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:valueFrom": { | |
".": {}, | |
"f:secretKeyRef": { | |
".": {}, | |
"f:key": {}, | |
"f:name": {} | |
} | |
} | |
}, | |
"k:{\"name\":\"NODE_NAME\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:valueFrom": { | |
".": {}, | |
"f:fieldRef": { | |
".": {}, | |
"f:apiVersion": {}, | |
"f:fieldPath": {} | |
} | |
} | |
}, | |
"k:{\"name\":\"RESULTS_DIR\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:value": {} | |
}, | |
"k:{\"name\":\"RESULT_TYPE\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:value": {} | |
}, | |
"k:{\"name\":\"SONOBUOY_PROGRESS_PORT\"}": { | |
".": {}, | |
"f:name": {}, | |
"f:value": {} | |
} | |
}, | |
"f:image": {}, | |
"f:imagePullPolicy": {}, | |
"f:name": {}, | |
"f:resources": {}, | |
"f:terminationMessagePath": {}, | |
"f:terminationMessagePolicy": {}, | |
"f:volumeMounts": { | |
".": {}, | |
"k:{\"mountPath\":\"/tmp/results\"}": { | |
".": {}, | |
"f:mountPath": {}, | |
"f:name": {} | |
} | |
} | |
} | |
}, | |
"f:dnsPolicy": {}, | |
"f:enableServiceLinks": {}, | |
"f:restartPolicy": {}, | |
"f:schedulerName": {}, | |
"f:securityContext": {}, | |
"f:serviceAccount": {}, | |
"f:serviceAccountName": {}, | |
"f:terminationGracePeriodSeconds": {}, | |
"f:tolerations": {}, | |
"f:volumes": { | |
".": {}, | |
"k:{\"name\":\"etc-cni-netd\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"opt-cni-bin\"}": { | |
".": {}, | |
"f:hostPath": { | |
".": {}, | |
"f:path": {}, | |
"f:type": {} | |
}, | |
"f:name": {} | |
}, | |
"k:{\"name\":\"results\"}": { | |
".": {}, | |
"f:emptyDir": {}, | |
"f:name": {} | |
} | |
} | |
} | |
} | |
} | |
] | |
}, | |
"spec": { | |
"volumes": [ | |
{ | |
"name": "etc-cni-netd", | |
"hostPath": { | |
"path": "/etc/cni/net.d", | |
"type": "" | |
} | |
}, | |
{ | |
"name": "opt-cni-bin", | |
"hostPath": { | |
"path": "/opt/cni/bin", | |
"type": "" | |
} | |
}, | |
{ | |
"name": "results", | |
"emptyDir": {} | |
}, | |
{ | |
"name": "sonobuoy-serviceaccount-token-flszc", | |
"secret": { | |
"secretName": "sonobuoy-serviceaccount-token-flszc", | |
"defaultMode": 420 | |
} | |
} | |
], | |
"containers": [ | |
{ | |
"name": "plugin", | |
"image": "sonobuoy/cluster-inventory:v0.0.1", | |
"command": [ | |
"/bin/bash" | |
], | |
"args": [ | |
"-c", | |
"/cluster-inventory run --sonobuoy-report /tmp/results/sonobuoy_results.yaml --json-report /tmp/results/json_results.json; tar czvf /tmp/results/results.tar.gz -C /tmp/results/ .; echo -n /tmp/results/results.tar.gz \u003e /tmp/results/done" | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "results", | |
"mountPath": "/tmp/results" | |
}, | |
{ | |
"name": "etc-cni-netd", | |
"mountPath": "/etc/cni/net.d" | |
}, | |
{ | |
"name": "opt-cni-bin", | |
"mountPath": "/opt/cni/bin" | |
}, | |
{ | |
"name": "sonobuoy-serviceaccount-token-flszc", | |
"readOnly": true, | |
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent" | |
}, | |
{ | |
"name": "sonobuoy-worker", | |
"image": "sonobuoy/sonobuoy:v0.18.4", | |
"command": [ | |
"/sonobuoy" | |
], | |
"args": [ | |
"worker", | |
"global", | |
"-v", | |
"5", | |
"--logtostderr" | |
], | |
"env": [ | |
{ | |
"name": "NODE_NAME", | |
"valueFrom": { | |
"fieldRef": { | |
"apiVersion": "v1", | |
"fieldPath": "spec.nodeName" | |
} | |
} | |
}, | |
{ | |
"name": "RESULTS_DIR", | |
"value": "/tmp/results" | |
}, | |
{ | |
"name": "RESULT_TYPE", | |
"value": "cluster-inventory" | |
}, | |
{ | |
"name": "AGGREGATOR_URL", | |
"value": "https://[10.244.0.53]:8080" | |
}, | |
{ | |
"name": "CA_CERT", | |
"value": "-----BEGIN CERTIFICATE-----\nMIIB0jCCAXigAwIBAgIBATAKBggqhkjOPQQDAjBgMQwwCgYDVQQGEwNVU0ExFjAU\nBgNVBAcTDVBhbG8gQWx0bywgQ0ExDzANBgNVBAoTBlZNd2FyZTERMA8GA1UECxMI\nU29ub2J1b3kxFDASBgNVBAMTC3Nvbm9idW95LWNhMB4XDTIwMDgyMDE1MzY0OFoX\nDTIwMDgyMjE1MzY0OFowYDEMMAoGA1UEBhMDVVNBMRYwFAYDVQQHEw1QYWxvIEFs\ndG8sIENBMQ8wDQYDVQQKEwZWTXdhcmUxETAPBgNVBAsTCFNvbm9idW95MRQwEgYD\nVQQDEwtzb25vYnVveS1jYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABKHlIepj\nFUNl2d5LzqhJOlPWasReS3MVEac9fozfyglauh8az29WHXE576/ZNRM9vAVxdjj9\nMyB0xBG87nFjIgajIzAhMA4GA1UdDwEB/wQEAwICBDAPBgNVHRMBAf8EBTADAQH/\nMAoGCCqGSM49BAMCA0gAMEUCIQD3ANe/wktyKAQyIEuZXmzB/rbaTlIV9oH9vmSf\nqDs5fQIgXleTj/iEuOSgwG5bfKtkKZ+uMydVxjlNIzswr4cIrsE=\n-----END CERTIFICATE-----\n" | |
}, | |
{ | |
"name": "CLIENT_CERT", | |
"valueFrom": { | |
"secretKeyRef": { | |
"name": "sonobuoy-plugin-cluster-inventory-8c98a906138f49f3", | |
"key": "tls.crt" | |
} | |
} | |
}, | |
{ | |
"name": "CLIENT_KEY", | |
"valueFrom": { | |
"secretKeyRef": { | |
"name": "sonobuoy-plugin-cluster-inventory-8c98a906138f49f3", | |
"key": "tls.key" | |
} | |
} | |
}, | |
{ | |
"name": "SONOBUOY_PROGRESS_PORT", | |
"value": "8099" | |
} | |
], | |
"resources": {}, | |
"volumeMounts": [ | |
{ | |
"name": "results", | |
"mountPath": "/tmp/results" | |
}, | |
{ | |
"name": "sonobuoy-serviceaccount-token-flszc", | |
"readOnly": true, | |
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount" | |
} | |
], | |
"terminationMessagePath": "/dev/termination-log", | |
"terminationMessagePolicy": "File", | |
"imagePullPolicy": "IfNotPresent" | |
} | |
], | |
"restartPolicy": "Never", | |
"terminationGracePeriodSeconds": 30, | |
"dnsPolicy": "ClusterFirst", | |
"serviceAccountName": "sonobuoy-serviceaccount", | |
"serviceAccount": "sonobuoy-serviceaccount", | |
"nodeName": "kind-control-plane", | |
"securityContext": {}, | |
"schedulerName": "default-scheduler", | |
"tolerations": [ | |
{ | |
"key": "node-role.kubernetes.io/master", | |
"operator": "Exists", | |
"effect": "NoSchedule" | |
}, | |
{ | |
"key": "CriticalAddonsOnly", | |
"operator": "Exists" | |
}, | |
{ | |
"key": "kubernetes.io/e2e-evict-taint-key", | |
"operator": "Exists" | |
}, | |
{ | |
"key": "node.kubernetes.io/not-ready", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
}, | |
{ | |
"key": "node.kubernetes.io/unreachable", | |
"operator": "Exists", | |
"effect": "NoExecute", | |
"tolerationSeconds": 300 | |
} | |
], | |
"priority": 0, | |
"enableServiceLinks": true | |
}, | |
"status": { | |
"phase": "Pending", | |
"conditions": [ | |
{ | |
"type": "Initialized", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:36:48Z" | |
}, | |
{ | |
"type": "Ready", | |
"status": "False", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:36:48Z", | |
"reason": "ContainersNotReady", | |
"message": "containers with unready status: [plugin sonobuoy-worker]" | |
}, | |
{ | |
"type": "ContainersReady", | |
"status": "False", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:36:48Z", | |
"reason": "ContainersNotReady", | |
"message": "containers with unready status: [plugin sonobuoy-worker]" | |
}, | |
{ | |
"type": "PodScheduled", | |
"status": "True", | |
"lastProbeTime": null, | |
"lastTransitionTime": "2020-08-20T15:36:48Z" | |
} | |
], | |
"hostIP": "172.18.0.2", | |
"startTime": "2020-08-20T15:36:48Z", | |
"containerStatuses": [ | |
{ | |
"name": "plugin", | |
"state": { | |
"waiting": { | |
"reason": "ContainerCreating" | |
} | |
}, | |
"lastState": {}, | |
"ready": false, | |
"restartCount": 0, | |
"image": "sonobuoy/cluster-inventory:v0.0.1", | |
"imageID": "", | |
"started": false | |
}, | |
{ | |
"name": "sonobuoy-worker", | |
"state": { | |
"waiting": { | |
"reason": "ContainerCreating" | |
} | |
}, | |
"lastState": {}, | |
"ready": false, | |
"restartCount": 0, | |
"image": "sonobuoy/sonobuoy:v0.18.4", | |
"imageID": "", | |
"started": false | |
} | |
], | |
"qosClass": "BestEffort" | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment