Kubernetes PodDisruptionBudgets: Why minAvailable: 100% Stalls Node Upgrades
How misconfigured PodDisruptionBudgets block cluster node drains during rolling upgrades, and how to balance availability guarantees with operational velocity.
βA PodDisruptionBudget with
minAvailable: 100%ormaxUnavailable: 0does not make your service more reliableβit freezes your clusterβs ability to patch the Linux kernel.β
The Upgrade Deadlock
When kubectl drain evicts pods from a worker node, the Kubernetes eviction API checks every matching PodDisruptionBudget (PDB). If an application team sets minAvailable: 2 on a Deployment with replicas: 2 (or minAvailable: 100%), allowedDisruptions drops to 0. Automated node-pool upgrades stall indefinitely until a platform engineer manually overrides the drain or scales the workload.
Production PDB Patterns
- Always leave at least 1 disruption budget slot: For a 3-replica stateless service, use
minAvailable: 2(ormaxUnavailable: 1). For a 2-replica service, useminAvailable: 1. - Never attach a PDB to single-replica workloads: A 1-replica Deployment with
minAvailable: 1permanently blocks voluntary evictions. - Pair PDBs with Topology Spread Constraints: Ensure replicas are distributed across availability zones and nodes so a single node drain never removes more than one replica at a time.
- Enforce via admission policy: Reject PDB manifests where
maxUnavailable == 0orminAvailable == replicasin CI before they reach production clusters.
π€ Interrogate This Field Note in Digital Twin
Click a prompt below to immediately stream an architectural analysis from Virtual Sachin's RAG cognitive twin:
Sachin Kumar Sharma
Director (Cloud & Infrastructure Architecture) | Principal Agentic AI Architect | 20+ Yrs Exp
Architecting resilient multi-cloud enterprise landing zones, SDN overlay fabrics, DevSecFinOps automation pipelines, and autonomous Agentic AI platforms.
π‘ Related Engineering Articles
Replacing kube-proxy with Cilium eBPF: Eliminating O(N) iptables Overhead at Scale
Why large Kubernetes clusters hit packet-processing walls with iptables-based kube-proxy, and how Cilium eBPF hash maps deliver O(1) service routing and native observability.
Zero-Trust AI Tool Execution: Sandboxing Autonomous Agents at the OS & Network Boundary
Why prompt-level safety instructions are insufficient for autonomous coding and ops agents, and how OS-level sandboxes, egress allowlists, and pre-execution hooks enforce real boundaries.
MCP Tool Schema Design: Enforcing Least Privilege for Autonomous Agents
Why coarse-grained Model Context Protocol (MCP) tools create unnecessary blast radius, and how typed, scoped schemas enforce deterministic least privilege.
π¬ Stay Updated on Tech Releases
Sign up to get notified when I publish new production war stories, agentic AI architecture blueprints, or open-source infrastructure tools.