Forum breadcrumbs – You are here:Tracston Community Forum – DevOps, Micro Services, Cloud, Infrastructure, Development, Monitoring and more…DevOps / Micro Services / Automation: Kubernetes & Helm ChartsPod Stuck in terminating state
You need to log in to create posts and topics.
Pod Stuck in terminating state
moshe@moshe
#1 · 01/08/2022, 4:25 pm
Quote from moshe on 01/08/2022, 4:25 pmProblem
User tries to delete a pod but it stuck in Terminating state forever
Solution
Force delete the pod
kubectl delete pods <POD NAME> -n <NAMESPACE> –grace-period=0 –force
Example
kubectl delete pods calico-kube-controllers-555bc4b957-dj2wn -n kube-system –grace-period=0 –force
Problem
User tries to delete a pod but it stuck in Terminating state forever
Solution
Force delete the pod
kubectl delete pods <POD NAME> -n <NAMESPACE> –grace-period=0 –force
Example
Uploaded files:kubectl delete pods calico-kube-controllers-555bc4b957-dj2wn -n kube-system –grace-period=0 –force
Click for thumbs down.0Click for thumbs up.0