Why Don't My Pods Evict When I Drain a Node in Kubernetes?

December 8, 2025 6 answers
Asked by slightly_offbeat
I've been having trouble with my Kubernetes cluster. Whenever I cordon and try to drain a node, it just doesn't evict the pods as expected. Instead, they seem to turn into zombie pods and stay on that node. I have three nodes in my setup, and they're all configured as control planes and worker nodes. Is there something I'm missing here, or is this behavior normal?

Answers

_guest lecturer
Are any of your pods configured with a very long terminationGracePeriodSeconds? That might be delaying the evictions.
Reply to this answer
_careful_estimate_
If you want to force a drain despite PDBs, try using `--disable-eviction`. It uses the delete API instead of the eviction API, so it won't honor PDBs. Hereโ€™s the command: ```bash kubectl drain --delete-emptydir-data --disable-eviction --ignore-daemonsets ``` You can also add `--force` if needed, but be cautious with that.
Reply to this answer
piano duet
That doesn't sound typical at all. Usually, regular pods should terminate successfully, leaving just daemonsets and static pods behind.
Reply to this answer
ice-free harbor
It might help to check what's failing to drain. A common issue is not having a PodDisruptionBudget (PDB) for some deployments, which can lead to drains getting stuck.

!+check the pavement: Wouldn't a misconfigured PDB cause this issue too?

Reply to this answer
acrobat.balance
Make sure to check for finalizers on your pods; they might be holding things up during the drain process.

slightly_offbeat: Assuming everything's set up correctly, you might want to look into that.

Reply to this answer
scene_2b
You could be dealing with an infrastructure component that's also getting evicted, leading to kubelet crashing. If you're using lower-end hardware like Raspberry Pi with an SD card, the etcd load could be causing these timeouts.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions