Skip to content

Instantly share code, notes, and snippets.

@wu0407
Last active December 1, 2023 03:35
Show Gist options
  • Save wu0407/aa986ad844504d05f4d0163e853c8b3f to your computer and use it in GitHub Desktop.
Save wu0407/aa986ad844504d05f4d0163e853c8b3f to your computer and use it in GitHub Desktop.
The process of mirror pod delete
I1123 14:11:15.664065 315900 config.go:278] "Setting pods for source" source="api"
I1123 14:11:15.664544 315900 kubelet.go:2130] "SyncLoop DELETE" source="api" pods=[default/nginx-static-pod-10.11.251.2]
I1123 14:11:15.664591 315900 pod_workers.go:888] "Processing pod event" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 updateType=0
I1123 14:11:15.664610 315900 kubelet.go:1554] "syncPod enter" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:11:15.664621 315900 kubelet_pods.go:1441] "Generating pod status" pod="default/nginx-static-pod-10.11.251.2"
I1123 14:11:15.664660 315900 kubelet_pods.go:1453] "Got phase for pod" pod="default/nginx-static-pod-10.11.251.2" oldPhase=Running phase=Running
I1123 14:11:15.664771 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:0xc001b3503c}] QOSClass:BestEffort EphemeralContainerStatuses:[]}
I1123 14:11:15.664893 315900 kubelet.go:1724] "Trying to delete pod" pod="default/nginx-static-pod-10.11.251.2" podUID=1facfed2-ba67-40f8-9982-ab86a5e7fd33
I1123 14:11:15.664900 315900 mirror_client.go:130] "Deleting a mirror pod" pod="default/nginx-static-pod-10.11.251.2" podUID=1facfed2-ba67-40f8-9982-ab86a5e7fd33
I1123 14:11:15.671615 315900 config.go:278] "Setting pods for source" source="api"
I1123 14:11:15.671989 315900 kubelet.go:2130] "SyncLoop DELETE" source="api" pods=[default/nginx-static-pod-10.11.251.2]
I1123 14:11:15.674620 315900 config.go:278] "Setting pods for source" source="api"
I1123 14:11:15.675067 315900 kubelet.go:2124] "SyncLoop REMOVE" source="api" pods=[default/nginx-static-pod-10.11.251.2]
I1123 14:11:15.675108 315900 kubelet.go:1729] "Deleted mirror pod because it is outdated" pod="default/nginx-static-pod-10.11.251.2"
I1123 14:11:15.675121 315900 kubelet.go:1740] "Creating a mirror pod for static pod" pod="default/nginx-static-pod-10.11.251.2"
I1123 14:11:15.683777 315900 config.go:278] "Setting pods for source" source="api"
I1123 14:11:15.683909 315900 kuberuntime_manager.go:732] "computePodActions got for pod" podActions={KillPod:false CreateSandbox:false SandboxID:398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78 Attempt:0 NextInitContainerToStart:nil ContainersToStart:[] ContainersToKill:map[] EphemeralContainersToStart:[]} pod="default/nginx-static-pod-10.11.251.2"
I1123 14:11:15.683985 315900 config.go:383] "Receiving a new pod" pod="default/nginx-static-pod-10.11.251.2"
I1123 14:11:15.684056 315900 kubelet.go:1556] "syncPod exit" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 isTerminal=false
I1123 14:11:15.684085 315900 pod_workers.go:988] "Processing pod event done" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 updateType=0
I1123 14:11:15.684093 315900 pod_workers.go:888] "Processing pod event" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 updateType=0
I1123 14:11:15.684281 315900 kubelet.go:2114] "SyncLoop ADD" source="api" pods=[default/nginx-static-pod-10.11.251.2]
I1123 14:11:16.053579 315900 kubelet.go:1554] "syncPod enter" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:11:16.053594 315900 kubelet_pods.go:1441] "Generating pod status" pod="default/nginx-static-pod-10.11.251.2"
I1123 14:11:16.053623 315900 kubelet_pods.go:1453] "Got phase for pod" pod="default/nginx-static-pod-10.11.251.2" oldPhase=Running phase=Running
I1123 14:11:16.053740 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:0xc0018e0e9c}] QOSClass:BestEffort EphemeralContainerStatuses:[]}
I1123 14:11:16.053900 315900 kubelet.go:1724] "Trying to delete pod" pod="default/nginx-static-pod-10.11.251.2" podUID=1facfed2-ba67-40f8-9982-ab86a5e7fd33
I1123 14:11:16.053912 315900 mirror_client.go:130] "Deleting a mirror pod" pod="default/nginx-static-pod-10.11.251.2" podUID=1facfed2-ba67-40f8-9982-ab86a5e7fd33
I1123 14:11:16.058386 315900 kuberuntime_manager.go:732] "computePodActions got for pod" podActions={KillPod:false CreateSandbox:false SandboxID:398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78 Attempt:0 NextInitContainerToStart:nil ContainersToStart:[] ContainersToKill:map[] EphemeralContainersToStart:[]} pod="default/nginx-static-pod-10.11.251.2"
I1123 14:11:16.058466 315900 kubelet.go:1556] "syncPod exit" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 isTerminal=false
I1123 14:11:16.058484 315900 pod_workers.go:988] "Processing pod event done" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 updateType=0
I1123 14:11:16.058491 315900 pod_workers.go:888] "Processing pod event" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 updateType=0
I1123 14:11:17.057755 315900 kubelet.go:1554] "syncPod enter" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:11:17.057769 315900 kubelet_pods.go:1441] "Generating pod status" pod="default/nginx-static-pod-10.11.251.2"
I1123 14:11:17.057792 315900 kubelet_pods.go:1453] "Got phase for pod" pod="default/nginx-static-pod-10.11.251.2" oldPhase=Running phase=Running
I1123 14:11:17.057916 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:0xc001479aec}] QOSClass:BestEffort EphemeralContainerStatuses:[]}
I1123 14:11:17.058123 315900 kuberuntime_manager.go:732] "computePodActions got for pod" podActions={KillPod:false CreateSandbox:false SandboxID:398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78 Attempt:0 NextInitContainerToStart:nil ContainersToStart:[] ContainersToKill:map[] EphemeralContainersToStart:[]} pod="default/nginx-static-pod-10.11.251.2"
I1123 14:11:17.058187 315900 kubelet.go:1556] "syncPod exit" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 isTerminal=false
I1123 14:11:17.058208 315900 pod_workers.go:988] "Processing pod event done" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 updateType=0
I1123 14:11:17.445775 315900 kubelet.go:2202] "SyncLoop (housekeeping)"
I1123 14:11:17.448095 315900 kubelet_pods.go:1082] "Clean up pod workers for terminated pods"
I1123 14:11:17.448108 315900 kubelet_pods.go:1111] "Clean up probes for terminated pods"
I1123 14:11:17.451620 315900 kubelet_pods.go:1148] "Clean up orphaned pod statuses"
I1123 14:11:17.454584 315900 kubelet_pods.go:1167] "Clean up orphaned pod directories"
I1123 14:11:17.454650 315900 kubelet_pods.go:1178] "Clean up orphaned mirror pods"
I1123 14:11:17.454657 315900 kubelet_pods.go:1185] "Clean up orphaned pod cgroups"
I1123 14:11:17.454667 315900 kubelet.go:2210] "SyncLoop (housekeeping) end"
I1123 14:11:21.394786 315900 file.go:201] "Reading config file" path="/etc/kubernetes/manifests/nginx-static-pod.yaml"
I1123 14:11:21.395258 315900 config.go:278] "Setting pods for source" source="file"
I1123 14:11:21.419140 315900 kubelet_getters.go:176] "Pod status updated" pod="default/nginx-static-pod-10.11.251.2" status=Running
I1123 14:11:21.445204 315900 kubelet.go:2202] "SyncLoop (housekeeping)"
I1123 14:11:21.448356 315900 kubelet_pods.go:1082] "Clean up pod workers for terminated pods"
I1123 14:11:21.448374 315900 kubelet_pods.go:1111] "Clean up probes for terminated pods"
I1123 14:11:21.452016 315900 kubelet_pods.go:1148] "Clean up orphaned pod statuses"
I1123 14:11:21.455178 315900 kubelet_pods.go:1167] "Clean up orphaned pod directories"
I1123 14:11:21.455240 315900 kubelet_pods.go:1178] "Clean up orphaned mirror pods"
I1123 14:11:21.455247 315900 kubelet_pods.go:1185] "Clean up orphaned pod cgroups"
I1123 14:11:21.455257 315900 kubelet.go:2210] "SyncLoop (housekeeping) end"
I1123 14:11:21.464252 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\":{\"conditions\":[{\"lastProbeTime\":null,\"lastTransitionTime\":\"2023-11-23T06:05:21Z\",\"status\":\"True\",\"type\":\"Initialized\"},{\"lastProbeTime\":null,\"lastTransitionTime\":\"2023-11-23T06:05:29Z\",\"status\":\"True\",\"type\":\"Ready\"},{\"lastProbeTime\":null,\"lastTransitionTime\":\"2023-11-23T06:05:29Z\",\"status\":\"True\",\"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\":true,\"restartCount\":0,\"started\":true,\"state\":{\"running\":{\"startedAt\":\"2023-11-23T06:05:29Z\"}}}],\"hostIP\":\"10.11.251.2\",\"phase\":\"Running\",\"podIP\":\"10.26.124.96\",\"podIPs\":[{\"ip\":\"10.26.124.96\"}],\"startTime\":\"2023-11-23T06:05:21Z\"}}"
I1123 14:11:21.464337 315900 status_manager.go:694] "Status for pod updated successfully" pod="default/nginx-static-pod-10.11.251.2" statusVersion=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:0xc0014af689}] QOSClass:BestEffort EphemeralContainerStatuses:[]}
I1123 14:11:21.464775 315900 config.go:278] "Setting pods for source" source="api"
I1123 14:11:21.465237 315900 kubelet.go:2127] "SyncLoop RECONCILE" source="api" pods=[default/nginx-static-pod-10.11.251.2]
I1123 14:11:41.395677 315900 file.go:201] "Reading config file" path="/etc/kubernetes/manifests/nginx-static-pod.yaml"
I1123 14:11:41.396099 315900 config.go:278] "Setting pods for source" source="file"
I1123 14:11:41.445866 315900 kubelet.go:2202] "SyncLoop (housekeeping)"
I1123 14:11:41.448169 315900 kubelet_pods.go:1082] "Clean up pod workers for terminated pods"
I1123 14:11:41.448182 315900 kubelet_pods.go:1111] "Clean up probes for terminated pods"
I1123 14:11:41.451650 315900 kubelet_pods.go:1148] "Clean up orphaned pod statuses"
I1123 14:11:41.454563 315900 kubelet_pods.go:1167] "Clean up orphaned pod directories"
I1123 14:11:41.454625 315900 kubelet_pods.go:1178] "Clean up orphaned mirror pods"
I1123 14:11:41.454632 315900 kubelet_pods.go:1185] "Clean up orphaned pod cgroups"
I1123 14:11:41.454641 315900 kubelet.go:2210] "SyncLoop (housekeeping) end"
I1123 14:12:34.445516 315900 kubelet.go:2171] "SyncLoop (SYNC) pods" total=1 pods=[default/nginx-static-pod-10.11.251.2]
I1123 14:12:34.445547 315900 pod_workers.go:888] "Processing pod event" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 updateType=0
I1123 14:12:34.445566 315900 kubelet.go:1554] "syncPod enter" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6
I1123 14:12:34.445577 315900 kubelet_pods.go:1441] "Generating pod status" pod="default/nginx-static-pod-10.11.251.2"
I1123 14:12:34.445608 315900 kubelet_pods.go:1453] "Got phase for pod" pod="default/nginx-static-pod-10.11.251.2" oldPhase=Running phase=Running
I1123 14:12:34.445713 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:0xc0018ff8a9}] QOSClass:BestEffort EphemeralContainerStatuses:[]}
I1123 14:12:34.445886 315900 kuberuntime_manager.go:732] "computePodActions got for pod" podActions={KillPod:false CreateSandbox:false SandboxID:398445f28f116ed45394c18d7697a64dceeef739379d5ac920bbf3fd6cc1bb78 Attempt:0 NextInitContainerToStart:nil ContainersToStart:[] ContainersToKill:map[] EphemeralContainersToStart:[]} pod="default/nginx-static-pod-10.11.251.2"
I1123 14:12:34.445952 315900 kubelet.go:1556] "syncPod exit" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 isTerminal=false
I1123 14:12:34.445967 315900 pod_workers.go:988] "Processing pod event done" pod="default/nginx-static-pod-10.11.251.2" podUID=a8712c005851ee6b29cff91b9ab4b9c6 updateType=0
# kubectl get pod nginx-static-pod-10.11.251.2 -oyaml -w
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:05:21Z"
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: "292107092"
uid: 1facfed2-ba67-40f8-9982-ab86a5e7fd33
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:05:29Z"
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2023-11-23T06:05:29Z"
status: "True"
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: true
restartCount: 0
started: true
state:
running:
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:05:21Z"
deletionGracePeriodSeconds: 30
deletionTimestamp: "2023-11-23T06:11:45Z"
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: "292110805"
uid: 1facfed2-ba67-40f8-9982-ab86a5e7fd33
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:05:29Z"
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2023-11-23T06:05:29Z"
status: "True"
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: true
restartCount: 0
started: true
state:
running:
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:05:21Z"
deletionGracePeriodSeconds: 0
deletionTimestamp: "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: "292110806"
uid: 1facfed2-ba67-40f8-9982-ab86a5e7fd33
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:05:29Z"
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2023-11-23T06:05:29Z"
status: "True"
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: true
restartCount: 0
started: true
state:
running:
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:05:21Z"
deletionGracePeriodSeconds: 0
deletionTimestamp: "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: "292110807"
uid: 1facfed2-ba67-40f8-9982-ab86a5e7fd33
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:05:29Z"
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2023-11-23T06:05:29Z"
status: "True"
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: true
restartCount: 0
started: true
state:
running:
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"
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: "292110808"
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:
phase: Pending
qosClass: BestEffort
---
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: "292110856"
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:05:29Z"
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: "2023-11-23T06:05:29Z"
status: "True"
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: true
restartCount: 0
started: true
state:
running:
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