kubectl drain Blocked by PodDisruptionBudget (Cannot Evict Pod)
PDB `minAvailable` equals current ready replicas (e.g. 1 of 1), blocking maintenance drains.
Runs locally in browser
Free · No login
Independently Verified 2026-11-25
v4.1.0
Identifier: kubectl drain Blocked by PodDisruptionBudget (Cannot Evict Pod)
Platform: Kubernetes
Common Root Causes:
- PDB `minAvailable` equals current ready replicas (e.g. 1 of 1), blocking maintenance drains.
Interactive Diagnostic Checklist
Verified Solutions:
- Avoid PDBs on single-replica workloads or set `maxUnavailable: 1` with >=2 replicas.
Safe Diagnostic Command:
kubectl get pdb -A
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.
Technical Explanation
PDB `minAvailable` equals current ready replicas (e.g. 1 of 1), blocking maintenance drains. Recommended diagnostic: `kubectl get pdb -A`. Remediation: Avoid PDBs on single-replica workloads or set `maxUnavailable: 1` with >=2 replicas.
Worked Examples
- Run `kubectl get pdb -A` to verify root cause before applying the remediation.
Limitations & Assumptions
- Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.
Source References & Verification
Resource ID: err-k8s-pdb-blocks-node-drain · Independently verified: 2026-11-25