1 개요[ | ]
- K8s pod Shutdown
Console
Copy
# kubectl get pod helloworld-b8bb7d65-tt5tj
NAME READY STATUS RESTARTS AGE
helloworld-b8bb7d65-tt5tj 0/2 Shutdown 0 17h
Console
Copy
# kubectl get pod helloworld-b8bb7d65-tt5tj
...
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Killing 24m kubelet Stopping container alpine
Normal Killing 24m kubelet Stopping container helloworld
Warning FailedKillPod 24m kubelet error killing pod: failed to "KillPodSandbox" for "1c96ef6b-41da-4571-aca7-8b36b0ed05a4" with KillPodSandboxError: "rpc error: code = Unknown desc = failed to destroy network for sandbox \"6dbff0a2339b8b98c64c355cc1e6c7def82c115d1e622546e8e050dc1a3493e0\": failed to Statfs \"/var/run/netns/cni-2f524726-6441-ef83-38c5-2afafc880bb0\": no such file or directory"
Console
Copy
# kubectl get pod | grep helloworld
helloworld-b8bb7d65-pmksj 2/2 Running 0 111m
helloworld-b8bb7d65-tt5tj 0/2 Shutdown 0 19h
Console
Copy
# kubectl delete pod helloworld-b8bb7d65-tt5tj
pod "helloworld-b8bb7d65-tt5tj" deleted
Console
Copy
# kubectl get pod | grep helloworld
helloworld-b8bb7d65-pmksj 2/2 Running 0 111m
2 같이 보기[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.