Replies: 1 comment
-
It seems when we do rolling restart the deployment ("kubectl rollout restart"), k3s left behind lots of old replicasets.
The UnexpectedAdmissionError pods seem to come from the old replicasets:
If I manually delete the old unused replicasets, those ghost pods will go away:
Shouldn't k3s auto cleanup those old replicasets and pods? (that's why I initially opened this as a bug in k3s) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When the host computer reboots, most of the pods in the k3s cluster comes up fine, except one of our GPU pods from a deployment. We most always observe the old pods stuck in UnexpectedAdmissionError state, and then replacement pods are starting in good Running state. Those "ghost" pods in UnexpectedAdmissionError state seems don't do anything and don't cause any harm. I can always manually kubectl delete them. Has anyone else seen the similar issue? Is there a way for k3s auto clean those pods?
Beta Was this translation helpful? Give feedback.
All reactions