πŸ—“οΈ Aug 15, 2019⏱️ 1 min read

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.

πŸŽ™οΈ Listen to ArticleREADY
AI Audio Synthesis Narrator
Share Post:

β€œA PodDisruptionBudget with minAvailable: 100% or maxUnavailable: 0 does 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

  1. Always leave at least 1 disruption budget slot: For a 3-replica stateless service, use minAvailable: 2 (or maxUnavailable: 1). For a 2-replica service, use minAvailable: 1.
  2. Never attach a PDB to single-replica workloads: A 1-replica Deployment with minAvailable: 1 permanently blocks voluntary evictions.
  3. 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.
  4. Enforce via admission policy: Reject PDB manifests where maxUnavailable == 0 or minAvailable == replicas in CI before they reach production clusters.
EDGE RAG DEEP-LINK

πŸ€– Interrogate This Field Note in Digital Twin

Open in /twin ↗

Click a prompt below to immediately stream an architectural analysis from Virtual Sachin's RAG cognitive twin:

SKS

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.

πŸ“¬

πŸ“¬ 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.

⚑ Theme Adaptive Shift
Switching layouts matching domain reading affinity...