"K8s pod Shutdown"의 두 판 사이의 차이

(새 문서: ==개요== ;K8s pod Shutdown <syntaxhighlight lang='console'> # kubectl get pod helloworld-b8bb7d65-tt5tj NAME READY STATUS RESTARTS AGE helloworld-b8b...)
 
 
16번째 줄: 16번째 줄:
   Normal  Killing        24m  kubelet  Stopping container helloworld
   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"
   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"
</syntaxhighlight>
<syntaxhighlight lang='console'>
# kubectl get pod | grep helloworld
helloworld-b8bb7d65-pmksj                  2/2    Running    0          111m
helloworld-b8bb7d65-tt5tj                  0/2    Shutdown  0          19h
</syntaxhighlight>
<syntaxhighlight lang='console'>
# kubectl delete pod helloworld-b8bb7d65-tt5tj
pod "helloworld-b8bb7d65-tt5tj" deleted
</syntaxhighlight>
<syntaxhighlight lang='console'>
# kubectl get pod | grep helloworld
helloworld-b8bb7d65-pmksj                  2/2    Running  0          111m
</syntaxhighlight>
</syntaxhighlight>



2022년 4월 13일 (수) 12:42 기준 최신판

1 개요[ | ]

K8s pod Shutdown
# kubectl get pod helloworld-b8bb7d65-tt5tj
NAME                        READY   STATUS     RESTARTS   AGE
helloworld-b8bb7d65-tt5tj   0/2     Shutdown   0          17h
# 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"
# kubectl get pod | grep helloworld
helloworld-b8bb7d65-pmksj                   2/2     Running    0          111m
helloworld-b8bb7d65-tt5tj                   0/2     Shutdown   0          19h
# kubectl delete pod helloworld-b8bb7d65-tt5tj
pod "helloworld-b8bb7d65-tt5tj" deleted
# kubectl get pod | grep helloworld
helloworld-b8bb7d65-pmksj                   2/2     Running   0          111m

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}