Skip to content

Instantly share code, notes, and snippets.

@wu0407
Last active December 1, 2023 10:40
Show Gist options
  • Save wu0407/51c7e9d7046442beac927e0b22bd13af to your computer and use it in GitHub Desktop.
Save wu0407/51c7e9d7046442beac927e0b22bd13af to your computer and use it in GitHub Desktop.
static pod delete process
I1123 14:18:35.558172 315900 kubelet.go:2124] "SyncLoop REMOVE" source="file" pods=[default/nginx-static-pod-10.11.251.2]
I1123 14:18:35.558191 315900 kubelet.go:1969] "Pod has been deleted and must be killed" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:18:35.558206 315900 pod_workers.go:638] "Pod is being removed by the kubelet, begin teardown" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:18:35.558234 315900 pod_workers.go:888] "Processing pod event" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 updateType=1
I1123 14:18:35.558244 315900 pod_workers.go:1005] "Pod worker has observed request to terminate" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:18:35.558259 315900 kubelet.go:1795] "syncTerminatingPod enter" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:18:35.558267 315900 kubelet_pods.go:1441] "Generating pod status" pod="default/nginx-static-pod-10.11.251.2"
I1123 14:18:35.558314 315900 kubelet_pods.go:1453] "Got phase for pod" pod="default/nginx-static-pod-10.11.251.2" oldPhase=Running phase=Running
I1123 14:18:35.558446 315900 status_manager.go:535] "Ignoring same status for pod" pod="default/nginx-static-pod-10.11.251.2" status={Phase:Running Conditions:[{Type:Initialized Status:True LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2023-11-23 14:05:21 +0800 CST Reason: Message:} {Type:Ready Status:True LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2023-11-23 14:05:29 +0800 CST Reason: Message:} {Type:ContainersReady Status:True LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2023-11-23 14:05:29 +0800 CST Reason: Message:} {Type:PodScheduled Status:True LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2023-11-23 14:05:21 +0800 CST Reason: Message:}] Message: Reason: NominatedNodeName: HostIP:10.11.251.2 PodIP:10.26.124.96 PodIPs:[{IP:10.26.124.96}] StartTime:2023-11-23 14:05:21 +0800 CST InitContainerStatuses:[] ContainerStatuses:[{Name:nginx-container State:{Waiting:nil Running:&ContainerStateRunning{StartedAt:2023-11-23 14:05:29 +0800 CST,} Terminated:nil} LastTerminationState:{Waiting:nil Running:nil Terminated:nil} Ready:true RestartCount:0 Image:nginx:latest ImageID:docker-pullable://nginx@sha256:10d1f5b58f74683ad34eb29287e07dab1e90f10af243f151bb50aa5dbb4d62ee ContainerID:docker://b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc Started:0xc0017dc569}] QOSClass:BestEffort EphemeralContainerStatuses:[]}
I1123 14:18:35.558456 315900 kubelet.go:1825] "Pod terminating with grace period" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 gracePeriod=30
I1123 14:18:35.558519 315900 kuberuntime_container.go:719] "Killing container with a grace period override" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 containerName="nginx-container" containerID="docker://b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc" gracePeriod=30
I1123 14:18:35.558528 315900 kuberuntime_container.go:723] "Killing container with a grace period" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 containerName="nginx-container" containerID="docker://b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc" gracePeriod=30
I1123 14:18:35.558621 315900 event.go:294] "Event occurred" object="default/nginx-static-pod-10.11.251.2" kind="Pod" apiVersion="v1" type="Normal" reason="Killing" message="Stopping container nginx-container"
I1123 14:18:35.604883 315900 manager.go:1044] Destroyed container: "/kubepods.slice/kubepods-besteffort.slice/kubepods-besteffort-poda8712c005851ee6b29cff91b9ab4b9c6.slice/docker-b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc.scope" (aliases: [k8s_nginx-container_nginx-static-pod-10.11.251.2_default_a8712c005851ee6b29cff91b9ab4b9c6_0 b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc], namespace: "docker")
I1123 14:18:35.604926 315900 handler.go:325] Added event &{/kubepods.slice/kubepods-besteffort.slice/kubepods-besteffort-poda8712c005851ee6b29cff91b9ab4b9c6.slice/docker-b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc.scope 2023-11-23 14:18:35.604920058 +0800 CST m=+794.475091013 containerDeletion {<nil>}}
I1123 14:18:35.630435 315900 kuberuntime_container.go:732] "Container exited normally" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 containerName="nginx-container" containerID="docker://b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc"
I1123 14:18:35.631213 315900 plugins.go:420] "Calling network plugin to tear down the pod" pod="default/nginx-static-pod-10.11.251.2" networkPluginName="cni"
I1123 14:18:35.631836 315900 cni.go:376] "Deleting pod from network" pod="default/nginx-static-pod-10.11.251.2" podSandboxID={Type:docker ID:398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78} podNetnsPath="/proc/316172/ns/net" networkType="loopback" networkName="cni-loopback"
I1123 14:18:35.634322 315900 cni.go:384] "Deleted pod from network" pod="default/nginx-static-pod-10.11.251.2" podSandboxID={Type:docker ID:398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78} networkType="loopback" networkName="cni-loopback"
I1123 14:18:35.634393 315900 cni.go:376] "Deleting pod from network" pod="default/nginx-static-pod-10.11.251.2" podSandboxID={Type:docker ID:398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78} podNetnsPath="/proc/316172/ns/net" networkType="fsk" networkName="generic-veth"
I1123 14:18:35.704444 315900 cni.go:384] "Deleted pod from network" pod="default/nginx-static-pod-10.11.251.2" podSandboxID={Type:docker ID:398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78} networkType="fsk" networkName="generic-veth"
I1123 14:18:35.739168 315900 manager.go:1044] Destroyed container: "/kubepods.slice/kubepods-besteffort.slice/kubepods-besteffort-poda8712c005851ee6b29cff91b9ab4b9c6.slice/docker-398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78.scope" (aliases: [k8s_POD_nginx-static-pod-10.11.251.2_default_a8712c005851ee6b29cff91b9ab4b9c6_0 398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78], namespace: "docker")
I1123 14:18:35.739210 315900 handler.go:325] Added event &{/kubepods.slice/kubepods-besteffort.slice/kubepods-besteffort-poda8712c005851ee6b29cff91b9ab4b9c6.slice/docker-398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78.scope 2023-11-23 14:18:35.739203617 +0800 CST m=+794.609374568 containerDeletion {<nil>}}
I1123 14:18:35.771242 315900 qos_container_manager_linux.go:380] "Updated QoS cgroup configuration"
I1123 14:18:35.772135 315900 kuberuntime_manager.go:1051] "getSandboxIDByPodUID got sandbox IDs for pod" podSandboxID=[398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78] pod="default/nginx-static-pod-10.11.251.2"
I1123 14:18:35.775192 315900 kubelet.go:1866] "Post-termination container state" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 containers="(nginx-container state=exited exitCode=0 finishedAt=2023-11-23T06:18:35.594470619Z)"
I1123 14:18:35.775202 315900 kubelet.go:1873] "Pod termination stopped all running containers" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:18:35.775212 315900 kubelet.go:1875] "syncTerminatingPod exit" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:18:35.775220 315900 pod_workers.go:1050] "Pod terminated all containers successfully" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:18:35.775232 315900 pod_workers.go:988] "Processing pod event done" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 updateType=1
I1123 14:18:35.775237 315900 pod_workers.go:888] "Processing pod event" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 updateType=2
I1123 14:18:35.934572 315900 generic.go:155] "GenericPLEG" podUID=a8712c005851ee6b29cff91b9ab4b9c6 containerID="b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc" oldState=running newState=exited
I1123 14:18:35.934582 315900 generic.go:155] "GenericPLEG" podUID=a8712c005851ee6b29cff91b9ab4b9c6 containerID="398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78" oldState=running newState=exited
I1123 14:18:35.935306 315900 kuberuntime_manager.go:1051] "getSandboxIDByPodUID got sandbox IDs for pod" podSandboxID=[398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78] pod="default/nginx-static-pod-10.11.251.2"
E1123 14:18:35.938173 315900 generic.go:411] "PLEG: Write status" pod="default/nginx-static-pod-10.11.251.2"
I1123 14:18:35.938208 315900 generic.go:296] "Generic (PLEG): container finished" podID=a8712c005851ee6b29cff91b9ab4b9c6 containerID="b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc" exitCode=0
I1123 14:18:35.938222 315900 kubelet.go:1883] "syncTerminatedPod enter" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:18:35.938230 315900 kubelet.go:2156] "SyncLoop (PLEG): pod does not exist, ignore irrelevant event" event=&{ID:a8712c005851ee6b29cff91b9ab4b9c6 Type:ContainerDied Data:b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc}
I1123 14:18:35.938232 315900 kubelet_pods.go:1441] "Generating pod status" pod="default/nginx-static-pod-10.11.251.2"
I1123 14:18:35.938244 315900 kubelet.go:2156] "SyncLoop (PLEG): pod does not exist, ignore irrelevant event" event=&{ID:a8712c005851ee6b29cff91b9ab4b9c6 Type:ContainerDied Data:398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78}
I1123 14:18:35.938251 315900 pod_container_deletor.go:79] "Container not found in pod's containers" containerID="398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78"
I1123 14:18:35.938262 315900 kubelet_pods.go:1453] "Got phase for pod" pod="default/nginx-static-pod-10.11.251.2" oldPhase=Running phase=Running
I1123 14:18:35.938306 315900 volume_manager.go:446] "Waiting for volumes to unmount for pod" pod="default/nginx-static-pod-10.11.251.2"
I1123 14:18:35.938328 315900 volume_manager.go:473] "All volumes are unmounted for pod" pod="default/nginx-static-pod-10.11.251.2"
I1123 14:18:35.938333 315900 kubelet.go:1896] "Pod termination unmounted volumes" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:18:35.941307 315900 kubelet.go:1917] "Pod termination removed cgroups" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:18:35.941348 315900 manager.go:1044] Destroyed container: "/kubepods.slice/kubepods-besteffort.slice/kubepods-besteffort-poda8712c005851ee6b29cff91b9ab4b9c6.slice" (aliases: [], namespace: "")
I1123 14:18:35.941367 315900 kubelet.go:1922] "Pod is terminated and will need no more status updates" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:18:35.941361 315900 handler.go:325] Added event &{/kubepods.slice/kubepods-besteffort.slice/kubepods-besteffort-poda8712c005851ee6b29cff91b9ab4b9c6.slice 2023-11-23 14:18:35.941356343 +0800 CST m=+794.811527295 containerDeletion {<nil>}}
I1123 14:18:35.941374 315900 kubelet.go:1924] "syncTerminatedPod exit" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:18:35.941383 315900 pod_workers.go:1105] "Pod is complete and the worker can now stop" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:18:35.941395 315900 pod_workers.go:959] "Processing pod event done" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 updateType=2
I1123 14:18:35.948571 315900 config.go:278] "Setting pods for source" source="api"
I1123 14:18:35.948899 315900 status_manager.go:685] "Patch status for pod" pod="default/nginx-static-pod-10.11.251.2" patch="{\"metadata\":{\"uid\":\"7bdace8a-8cc5-4cb4-886b-f3961f07d3b8\"},\"status\":{\"$setElementOrder/conditions\":[{\"type\":\"Initialized\"},{\"type\":\"Ready\"},{\"type\":\"ContainersReady\"},{\"type\":\"PodScheduled\"}],\"conditions\":[{\"lastTransitionTime\":\"2023-11-23T06:18:35Z\",\"message\":\"containers with unready status: [nginx-container]\",\"reason\":\"ContainersNotReady\",\"status\":\"False\",\"type\":\"Ready\"},{\"lastTransitionTime\":\"2023-11-23T06:18:35Z\",\"message\":\"containers with unready status: [nginx-container]\",\"reason\":\"ContainersNotReady\",\"status\":\"False\",\"type\":\"ContainersReady\"}],\"containerStatuses\":[{\"containerID\":\"docker://b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc\",\"image\":\"nginx:latest\",\"imageID\":\"docker-pullable://nginx@sha256:10d1f5b58f74683ad34eb29287e07dab1e90f10af243f151bb50aa5dbb4d62ee\",\"lastState\":{},\"name\":\"nginx-container\",\"ready\":false,\"restartCount\":0,\"started\":false,\"state\":{\"terminated\":{\"containerID\":\"docker://b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc\",\"exitCode\":0,\"finishedAt\":\"2023-11-23T06:18:35Z\",\"reason\":\"Completed\",\"startedAt\":\"2023-11-23T06:05:29Z\"}}}]}}"
I1123 14:18:35.948962 315900 status_manager.go:694] "Status for pod updated successfully" pod="default/nginx-static-pod-10.11.251.2" statusVersion=3 status={Phase:Running Conditions:[{Type:Initialized Status:True LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2023-11-23 14:05:21 +0800 CST Reason: Message:} {Type:Ready Status:False LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2023-11-23 14:18:35 +0800 CST Reason:ContainersNotReady Message:containers with unready status: [nginx-container]} {Type:ContainersReady Status:False LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2023-11-23 14:18:35 +0800 CST Reason:ContainersNotReady Message:containers with unready status: [nginx-container]} {Type:PodScheduled Status:True LastProbeTime:0001-01-01 00:00:00 +0000 UTC LastTransitionTime:2023-11-23 14:05:21 +0800 CST Reason: Message:}] Message: Reason: NominatedNodeName: HostIP:10.11.251.2 PodIP:10.26.124.96 PodIPs:[{IP:10.26.124.96}] StartTime:2023-11-23 14:05:21 +0800 CST InitContainerStatuses:[] ContainerStatuses:[{Name:nginx-container State:{Waiting:nil Running:nil Terminated:&ContainerStateTerminated{ExitCode:0,Signal:0,Reason:Completed,Message:,StartedAt:2023-11-23 14:05:29 +0800 CST,FinishedAt:2023-11-23 14:18:35 +0800 CST,ContainerID:docker://b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc,}} LastTerminationState:{Waiting:nil Running:nil Terminated:nil} Ready:false RestartCount:0 Image:nginx:latest ImageID:docker-pullable://nginx@sha256:10d1f5b58f74683ad34eb29287e07dab1e90f10af243f151bb50aa5dbb4d62ee ContainerID:docker://b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc Started:0xc001c1ac29}] QOSClass:BestEffort EphemeralContainerStatuses:[]}
I1123 14:18:35.949126 315900 kubelet.go:2127] "SyncLoop RECONCILE" source="api" pods=[default/nginx-static-pod-10.11.251.2]
I1123 14:18:35.951690 315900 status_manager.go:685] "Patch status for pod" pod="default/nginx-static-pod-10.11.251.2" patch="{\"metadata\":{\"uid\":\"7bdace8a-8cc5-4cb4-886b-f3961f07d3b8\"}}"
I1123 14:18:35.951698 315900 status_manager.go:692] "Status for pod is up-to-date" pod="default/nginx-static-pod-10.11.251.2" statusVersion=4
I1123 14:18:37.445960 315900 kubelet.go:2202] "SyncLoop (housekeeping)"
I1123 14:18:37.448122 315900 kubelet_pods.go:1082] "Clean up pod workers for terminated pods"
I1123 14:18:37.448136 315900 pod_workers.go:1258] "Pod has been terminated and is no longer known to the kubelet, remove all history" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:18:37.448143 315900 kubelet_pods.go:1111] "Clean up probes for terminated pods"
I1123 14:18:37.451130 315900 kubelet_pods.go:1148] "Clean up orphaned pod statuses"
I1123 14:18:37.453700 315900 kubelet_pods.go:1167] "Clean up orphaned pod directories"
I1123 14:18:37.453841 315900 kubelet_volumes.go:160] "Cleaned up orphaned pod volumes dir" podUID=a8712c005851ee6b29cff91b9ab4b9c6 path="/data/kubernetes/kubelet/pods/a8712c005851ee6b29cff91b9ab4b9c6/volumes"
I1123 14:18:37.453954 315900 kubelet_volumes.go:236] "Orphaned pod found, removing" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:18:37.453970 315900 kubelet_pods.go:1178] "Clean up orphaned mirror pods"
I1123 14:18:37.453983 315900 mirror_client.go:130] "Deleting a mirror pod" pod="default/nginx-static-pod-10.11.251.2" podUID=
I1123 14:18:37.463808 315900 config.go:278] "Setting pods for source" source="api"
I1123 14:18:37.466092 315900 config.go:278] "Setting pods for source" source="api"
I1123 14:18:37.466537 315900 kubelet_pods.go:1040] "Deleted pod" podName="nginx-static-pod-10.11.251.2_default"
I1123 14:18:37.466546 315900 kubelet_pods.go:1185] "Clean up orphaned pod cgroups"
I1123 14:18:37.466560 315900 kubelet.go:2210] "SyncLoop (housekeeping) end"
I1123 14:18:37.466578 315900 kubelet.go:2130] "SyncLoop DELETE" source="api" pods=[default/nginx-static-pod-10.11.251.2]
I1123 14:18:37.466589 315900 kubelet.go:2124] "SyncLoop REMOVE" source="api" pods=[default/nginx-static-pod-10.11.251.2]
E1123 14:18:41.923893 315900 cpu_manager.go:394] "RemoveStaleState: removing container" podUID="a8712c005851ee6b29cff91b9ab4b9c6" containerName="nginx-container"
I1123 14:18:41.923926 315900 policy_static.go:296] "Static policy: RemoveContainer" podUID="a8712c005851ee6b29cff91b9ab4b9c6" containerName="nginx-container"
I1123 14:18:41.923934 315900 state_mem.go:107] "Deleted CPUSet assignment" podUID="a8712c005851ee6b29cff91b9ab4b9c6" containerName="nginx-container"
I1123 14:19:21.542254 315900 kuberuntime_container.go:947] "Removing container" containerID="b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc"
I1123 14:19:21.542265 315900 scope.go:110] "RemoveContainer" containerID="b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc"
I1123 14:19:21.554998 315900 kuberuntime_gc.go:171] "Removing sandbox" sandboxID="398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78"
I1123 14:19:21.563426 315900 kuberuntime_gc.go:343] "Removing pod logs" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:19:21.566388 315900 kubelet.go:1333] "Container garbage collection succeeded"
I1123 14:19:22.136698 315900 generic.go:155] "GenericPLEG" podUID=a8712c005851ee6b29cff91b9ab4b9c6 containerID="b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc" oldState=exited newState=non-existent
I1123 14:19:22.136709 315900 generic.go:155] "GenericPLEG" podUID=a8712c005851ee6b29cff91b9ab4b9c6 containerID="398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78" oldState=exited newState=non-existent
I1123 14:19:22.136716 315900 generic.go:399] "PLEG: Delete status for pod" podUID="a8712c005851ee6b29cff91b9ab4b9c6"
apiVersion: v1
kind: Pod
metadata:
annotations:
kubernetes.io/config.hash: a8712c005851ee6b29cff91b9ab4b9c6
kubernetes.io/config.mirror: a8712c005851ee6b29cff91b9ab4b9c6
kubernetes.io/config.seen: "2023-11-23T14:05:21.400551188+08:00"
kubernetes.io/config.source: file
creationTimestamp: "2023-11-23T06:11:15Z"
name: nginx-static-pod-10.11.251.2
namespace: default
ownerReferences:
- apiVersion: v1
controller: true
kind: Node
name: 10.11.251.2
uid: d2e3ebf6-2a70-434f-9142-0f74a1dd16bc
resourceVersion: "292115510"
uid: 7bdace8a-8cc5-4cb4-886b-f3961f07d3b8
spec:
containers:
- image: nginx:latest
imagePullPolicy: Always
name: nginx-container
ports:
- containerPort: 80
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
enableServiceLinks: true
nodeName: 10.11.251.2
preemptionPolicy: PreemptLowerPriority
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
operator: Exists
status:
conditions:
- lastProbeTime: null
lastTransitionTime: "2023-11-23T06:05:21Z"
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: "2023-11-23T06:18:35Z"
message: 'containers with unready status: [nginx-container]'
reason: ContainersNotReady
status: "False"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2023-11-23T06:18:35Z"
message: 'containers with unready status: [nginx-container]'
reason: ContainersNotReady
status: "False"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: "2023-11-23T06:05:21Z"
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc
image: nginx:latest
imageID: docker-pullable://nginx@sha256:10d1f5b58f74683ad34eb29287e07dab1e90f10af243f151bb50aa5dbb4d62ee
lastState: {}
name: nginx-container
ready: false
restartCount: 0
started: false
state:
terminated:
containerID: docker://b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc
exitCode: 0
finishedAt: "2023-11-23T06:18:35Z"
reason: Completed
startedAt: "2023-11-23T06:05:29Z"
hostIP: 10.11.251.2
phase: Running
podIP: 10.26.124.96
podIPs:
- ip: 10.26.124.96
qosClass: BestEffort
startTime: "2023-11-23T06:05:21Z"
---
apiVersion: v1
kind: Pod
metadata:
annotations:
kubernetes.io/config.hash: a8712c005851ee6b29cff91b9ab4b9c6
kubernetes.io/config.mirror: a8712c005851ee6b29cff91b9ab4b9c6
kubernetes.io/config.seen: "2023-11-23T14:05:21.400551188+08:00"
kubernetes.io/config.source: file
creationTimestamp: "2023-11-23T06:11:15Z"
deletionGracePeriodSeconds: 0
deletionTimestamp: "2023-11-23T06:18:37Z"
name: nginx-static-pod-10.11.251.2
namespace: default
ownerReferences:
- apiVersion: v1
controller: true
kind: Node
name: 10.11.251.2
uid: d2e3ebf6-2a70-434f-9142-0f74a1dd16bc
resourceVersion: "292115524"
uid: 7bdace8a-8cc5-4cb4-886b-f3961f07d3b8
spec:
containers:
- image: nginx:latest
imagePullPolicy: Always
name: nginx-container
ports:
- containerPort: 80
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
enableServiceLinks: true
nodeName: 10.11.251.2
preemptionPolicy: PreemptLowerPriority
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
operator: Exists
status:
conditions:
- lastProbeTime: null
lastTransitionTime: "2023-11-23T06:05:21Z"
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: "2023-11-23T06:18:35Z"
message: 'containers with unready status: [nginx-container]'
reason: ContainersNotReady
status: "False"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2023-11-23T06:18:35Z"
message: 'containers with unready status: [nginx-container]'
reason: ContainersNotReady
status: "False"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: "2023-11-23T06:05:21Z"
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc
image: nginx:latest
imageID: docker-pullable://nginx@sha256:10d1f5b58f74683ad34eb29287e07dab1e90f10af243f151bb50aa5dbb4d62ee
lastState: {}
name: nginx-container
ready: false
restartCount: 0
started: false
state:
terminated:
containerID: docker://b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc
exitCode: 0
finishedAt: "2023-11-23T06:18:35Z"
reason: Completed
startedAt: "2023-11-23T06:05:29Z"
hostIP: 10.11.251.2
phase: Running
podIP: 10.26.124.96
podIPs:
- ip: 10.26.124.96
qosClass: BestEffort
startTime: "2023-11-23T06:05:21Z"
---
apiVersion: v1
kind: Pod
metadata:
annotations:
kubernetes.io/config.hash: a8712c005851ee6b29cff91b9ab4b9c6
kubernetes.io/config.mirror: a8712c005851ee6b29cff91b9ab4b9c6
kubernetes.io/config.seen: "2023-11-23T14:05:21.400551188+08:00"
kubernetes.io/config.source: file
creationTimestamp: "2023-11-23T06:11:15Z"
deletionGracePeriodSeconds: 0
deletionTimestamp: "2023-11-23T06:18:37Z"
name: nginx-static-pod-10.11.251.2
namespace: default
ownerReferences:
- apiVersion: v1
controller: true
kind: Node
name: 10.11.251.2
uid: d2e3ebf6-2a70-434f-9142-0f74a1dd16bc
resourceVersion: "292115525"
uid: 7bdace8a-8cc5-4cb4-886b-f3961f07d3b8
spec:
containers:
- image: nginx:latest
imagePullPolicy: Always
name: nginx-container
ports:
- containerPort: 80
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
enableServiceLinks: true
nodeName: 10.11.251.2
preemptionPolicy: PreemptLowerPriority
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
operator: Exists
status:
conditions:
- lastProbeTime: null
lastTransitionTime: "2023-11-23T06:05:21Z"
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: "2023-11-23T06:18:35Z"
message: 'containers with unready status: [nginx-container]'
reason: ContainersNotReady
status: "False"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2023-11-23T06:18:35Z"
message: 'containers with unready status: [nginx-container]'
reason: ContainersNotReady
status: "False"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: "2023-11-23T06:05:21Z"
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc
image: nginx:latest
imageID: docker-pullable://nginx@sha256:10d1f5b58f74683ad34eb29287e07dab1e90f10af243f151bb50aa5dbb4d62ee
lastState: {}
name: nginx-container
ready: false
restartCount: 0
started: false
state:
terminated:
containerID: docker://b6ca55d329230c8f5776eb1160fe161d6fefa01f2b31e55dbb820add90aadccc
exitCode: 0
finishedAt: "2023-11-23T06:18:35Z"
reason: Completed
startedAt: "2023-11-23T06:05:29Z"
hostIP: 10.11.251.2
phase: Running
podIP: 10.26.124.96
podIPs:
- ip: 10.26.124.96
qosClass: BestEffort
startTime: "2023-11-23T06:05:21Z"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment