Why 3 Replicas Aren't Enough: 5 Counter-Intuitive Truths About Kubernetes Maintenance and PodDisruptionBudgets1. IntroductionThree replicas are running. One node needs maintenance. You drain it. Then Kubernetes refuses to evict a pod. Is Kubernetes broken?It is a scenario every platform engineer faces eventually—often during a 2 AM node group upgrade on EKS or GKE. The cluster auto-repair engine or an automated upgrade pipeline attempts to drain a node, but the operation completely stalls. The workload appears perfectly healthy with multiple running pods, yet the control plane refuses to move them.The core issue lies in a widespread operational misconception: having multiple redundant replicas does not automatically mean your application is safe or available for eviction during node maintenance. True cluster reliability requires managing real-time workload health and disruption budgets intentionally, rather than assuming raw pod counts will protect you.2. Takeaway 1: Redundancy Is Not Availability—Desired vs. Currently Available ReplicasA fundamental misstep in Kubernetes administration is confusing desired replicas with currently available replicas. A Deployment spec might request three replicas, but the cluster's capability to tolerate node maintenance depends entirely on how many of those pods are currently healthy and passing their Pod Readiness Probes.Kubernetes does not treat a pod as "available" simply because its container status is Running. If an application pod is booting up, crashing, or failing its readiness probe, Kubernetes removes it from the pool of available pods.Consider a practical setup where a deployment is created and guarded by a PodDisruptionBudget (PDB):kubectl create deployment demo-app --image=nginx --replicas=3
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: demo-app-pdb
spec:
minAvailable: 2
selector:
matchLabels:
app: demo-app
The control plane calculates disruptionsAllowed by subtracting your minAvailable target from the count of currently available (ready) pods:If one of your 3 pods is failing its readiness probe, your currently available count is 2. Because your PDB requires minAvailable: 2, disruptionsAllowed instantly drops to 0 before you even issue a maintenance command.Workload StateDesired ReplicasReady (Available) ReplicasPDB minAvailabledisruptionsAllowedNode Drain ResultFully Healthy3321Eviction permittedDegraded (1 Unready Pod)3220Blocked by PDBPost-Eviction3220Further evictions blocked3. Takeaway 2: The Critical Blind Spot—PDBs Only Guard Against Voluntary DisruptionsKubernetes sharply distinguishes between two operational failure domains:1. Voluntary Disruptions: Planned maintenance events initiated by cluster admins or automated controllers, such as kubectl drain operations, cluster upgrades, or autoscaler downscaling.2. Involuntary Disruptions: Unplanned hardware and infrastructure failures, such as physical node crashes, kernel panics, network partitions, or cloud provider hypervisor faults.PodDisruptionBudgets are designed only to protect against voluntary disruptions. They act as a rate-limiting policy engine for the Kubernetes Eviction API; they do not possess a magical shield to prevent hardware crashes or sudden kernel panics."Replica count gives you redundancy. A PodDisruptionBudget helps protect that redundancy during voluntary disruptions. Safe maintenance requires understanding both."Assuming that a PDB guarantees application uptime during physical node loss creates a dangerous false sense of security. Redundancy across availability zones protects against involuntary failures; PDBs protect that redundancy from your own maintenance scripts.4. Takeaway 3: Not All Deletions Are Equal—The Eviction API vs. Direct Pod DeletionNot all pod removal operations follow the same execution path inside the Kubernetes control plane. The mechanism used to delete a pod dictates whether PDB safeguards are evaluated.When performing node maintenance, operators run kubectl drain:kubectl drain node-16a-prod --ignore-daemonsets
(Note: The --ignore-daemonsets flag is required because DaemonSet pods are tied to node lifecycles and managed by the DaemonSet controller rather than standard replica schedulers.)Under the hood, kubectl drain does not simply delete pods. It invokes the Kubernetes Eviction API (/api/v1/namespaces/{ns}/pods/{name}/eviction). The Eviction API creates an Eviction subresource, prompting the control plane to evaluate active PDB constraints. If evicting the pod would violate the PDB (disruptionsAllowed == 0), the API returns HTTP 429 Too Many Requests, and the drain stalls safely.Conversely, executing a direct pod deletion entirely circumvents the Eviction API:kubectl delete pod demo-app-7d8b49b7b4-x9z2p
Direct pod deletions bypass PDB protections completely. When a node drain stalls at 2 AM, frustrated operators often make the fatal mistake of running manual pod deletions or passing dangerous override flags. Doing so bypasses the precise safety harness preventing an application outage.5. Takeaway 4: Deployment Rollouts and PDBs Play by Different RulesA common architectural trap is assuming that application update parameters and node maintenance safety rules share the same engine. They do not.• Deployment Rolling Updates: Governed by parameters in the Deployment spec, specifically maxSurge and maxUnavailable. During a deployment update, Kubernetes can temporarily spin up extra pods (maxSurge) before terminating old ones, proactively maintaining capacity.• Node Evictions (PDBs): Governed by the Eviction API during operations like kubectl drain.Crucially, a node drain operation does not automatically trigger a deployment to surge new pods on other nodes prior to eviction unless an external controller or autoscaler intervenes. The Eviction API evaluates availability strictly based on the existing ready pods running in the cluster. Assuming a well-tuned Deployment rollout strategy will automatically protect you during underlying node maintenance leaves severe operational vulnerabilities exposed during platform upgrades.6. Takeaway 5: The Operational Trap—A Blocked Drain Is a Symptom, Not a Bug to BypassWhen kubectl drain stalls, platform engineers often treat it as a broken CLI tool. But a blocked drain is not a failure of the Kubernetes control plane—it is the safety system working exactly as designed to prevent a self-inflicted outage.Instead of overriding safeguards with direct force commands, follow this operational diagnostic workflow:Step 1: Inspect the PDB StatusEvaluate the disruption budget status across the cluster:kubectl get pdbThen dig into the detailed metrics of the blocked workload:kubectl describe pdb demo-app-pdb
This command outputs four vital status fields:Name: demo-app-pdb
Namespace: default
Selector: app=demo-app
MIN AVAILABLE: 2
MAX UNAVAILABLE: N/A
ALLOWED DISRUPTIONS: 0
CURRENT: 2
DESIRED: 3
• MIN AVAILABLE / MAX UNAVAILABLE: The target safety threshold configured in the manifest.• DESIRED: The total number of pods matching the label selector that should be running.• CURRENT: The total number of pods matching the selector that are currently ready.• ALLOWED DISRUPTIONS: The exact number of voluntary evictions the Eviction API will currently accept ().Step 3: Resolve Pod UnreadinessIf CURRENT is lower than DESIRED (e.g., 2 current vs 3 desired), find out why the third pod is failing its readiness probe or stuck in CrashLoopBackOff. Once the root cause is fixed and the third pod becomes Ready, ALLOWED DISRUPTIONS will automatically recalculate to 1, and the node drain will proceed smoothly without manual intervention.7. Conclusion & Final ReflectionRedundancy alone does not guarantee application uptime during cluster maintenance. True platform engineering requires recognizing that raw replica counts represent desired targets, whereas PodDisruptionBudgets manage the realities of live cluster operations via the Eviction API. A blocked node drain is an intentional system boundary designed to protect workloads from self-inflicted downtime.Before your next scheduled node maintenance window or control plane upgrade, ask yourself: Are your disruption budgets configured to reflect real-time pod readiness, or are you relying on raw replica counts to keep your applications online?
Originally published on KAIRO. Read the full article there.

