Skip to main content

What is the difference between soft and hard eviction in Kubernetes?

Mid Kubernetes
Quick Answer Soft eviction: node is under resource pressure (low memory, low disk) รขโ‚ฌโ€ kubelet starts gracefully evicting lower-priority Pods to free resources. The node stays schedulable. Hard eviction: resources are critically low รขโ‚ฌโ€ kubelet aggressively evicts Pods without grace periods to prevent the node from becoming completely unusable.

Answer

Soft eviction allows graceful shutdown; hard eviction force-kills Pods when thresholds exceed.
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice