How do I force delete kubernetes pods?

前端 未结 7 1962
渐次进展
渐次进展 2021-01-31 07:58

I have the following pods:

NAME                                                 READY     STATUS        RESTARTS   AGE
xxx-myactivities-79f49cdfb4-nwg22                  


        
7条回答
  •  抹茶落季
    2021-01-31 08:09

    For deleting pod forcefully use this.

    kubectl delete pod -n --grace-period=0 --force

    OR

    kubectl delete pod -n --wait=false

    For reference please follow below link. https://kubernetes.io/docs/tasks/run-application/force-delete-stateful-set-pod/

提交回复
热议问题