“Ghost” kubernetes pod stuck in terminating

后端 未结 3 2338
清歌不尽
清歌不尽 2021-02-20 14:54

The situation

I have a kubernetes pod stuck in \"Terminating\" state that resists pod deletions

NAME                             READY STATUS       RES         


        
3条回答
  •  故里飘歌
    2021-02-20 15:07

    In my case, the solution proposed by the accepted answer did not work, it kept stuck in "Terminating" status. What did the trick for me was:

    kubectl delete pods  --grace-period=0 --force
    

提交回复
热议问题