Interview Prep/Kubernetes/Pods & Workloads

How do PodDisruptionBudgets interact with voluntary evictions, and what do they not protect against?

AdvancedConceptPods & Workloads
Answer

A PDB (minAvailable or maxUnavailable) limits voluntary disruptions via the Eviction API: node drains, cluster autoscaler scale-down, Karpenter consolidation. It does not protect against node crashes, OOM kills or kubectl delete pod. A PDB that allows zero disruptions blocks drains indefinitely.

kubectl get pdb
All Kubernetes questions Roadmap: Kubernetes core

More on Pods & Workloads