Unable to delete pod stuck in terminating state #10400
Replies: 4 comments 2 replies
-
I met the same issue. How can I do to fix it? |
Beta Was this translation helpful? Give feedback.
-
delete it this way kubectl delete pod/POD_NAME --force --grace-period=0 |
Beta Was this translation helpful? Give feedback.
-
Maybe the cache needs to be invalidated. Normally, ArgoCD should get event from Kubernetes about the deletion and update the cache, but it could be slow on medium+ clusters. ArgoCD version 2.13 added some big optimizations, which help with event processing as well at least for medium clusters. I suggest giving it a shot. |
Beta Was this translation helpful? Give feedback.
-
The phantom pods are a known bug :(. Here is a pretty detailed issue - #9226 |
Beta Was this translation helpful? Give feedback.
-
Not sure if it's a bug or if I'm doing something wrong.
But we have a pod in ArgoCD that's been stuck in "terminating" state for two days. Trying to force-delete gives below error.
The pod does indeed not exist in the cluster when checking with
kubectl get pods
.What can I do?
Beta Was this translation helpful? Give feedback.
All reactions