Read-only archive. These discussions are from Tracston's earlier
technical forum and are kept online because the answers are still useful.
New replies are closed. Need help with something like this?
Talk to us.
Question
1 Aug 2022
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
kubectl delete pods calico-kube-controllers-555bc4b957-dj2wn -n kube-system –grace-period=0 –force
Attachment: commands.txt
Need this fixed properly?
We do this for a living.
Kubernetes, DevOps and platform engineering, delivered in days — not another weekend lost to a stack trace.
Start a project →