PodDisruptionBudget Deadlocks: Fix Stuck Node Drains, 429 Evictions and Single-Replica Traps
PodDisruptionBudget deadlocks stall node drains when disruptionsAllowed reaches zero and the Eviction API refuses every eviction with HTTP 429. This playbook reads the four PDB status fields, separates budget arithmetic from readiness and scheduling stalls, and fixes minAvailable traps, single-replica budgets and unhealthy-pod blocks without dropping availability.
1. What PodDisruptionBudget deadlocks look like in production
PodDisruptionBudget deadlocks are drain stalls where the Eviction API refuses every eviction because the budget allows zero disruptions, so kubectl drain, a node upgrade or an autoscaler retries forever. The cluster is healthy, the workload is healthy, and the arithmetic is the fault: healthy pods minus required pods equals zero.
Illustrative composite: a platform team starts a managed node-group upgrade during a low-traffic window. Two nodes drain cleanly. The third cordons, most pods move, and then the log settles into one repeating line: error when evicting pods/"shop/session-store-0" - Cannot evict pod as it would violate the pod's disruption budget. The StatefulSet shows two of two pods Ready. The PDB says minAvailable: 2. Two healthy pods minus two required pods leaves zero allowed disruptions, so the Eviction API refuses the request, the upgrade tool retries, and the maintenance window burns while nothing in the cluster is actually broken. The budget was written when the workload ran three replicas; a cost cleanup dropped it to two and nobody touched the PDB.
That pattern is the signature of PodDisruptionBudget deadlocks. The workload reports full availability, the node is cordoned and mostly empty, and one or two pods refuse to move. Operators often read the repeating error as a transient condition and wait. It is not transient. A budget that allows zero disruptions at full health will allow zero disruptions in an hour, because the number that has to change is the healthy pod count or the budget itself, and neither changes on its own while the drain waits.
Split the symptom before you touch anything. If the eviction request returns the disruption-budget message, the PDB gate is closed and this guide applies. If eviction succeeds but the replacement pod sits Pending, the gate opened and scheduling is the blocker, which is a capacity, taint or topology problem. If drain refuses to start over unmanaged pods or local storage, that is a drain flag problem, not a budget problem. Each class has a different fix, and applying the wrong one, such as deleting the PDB to fix a scheduling stall, trades availability for nothing.
2. How PodDisruptionBudget deadlocks happen: the Eviction API gate
PodDisruptionBudget deadlocks happen at the Eviction API, not in the scheduler. When a drain or autoscaler asks the API server to evict a pod, the server checks every PDB selecting that pod and refuses with HTTP 429 when eviction would drop healthy pods below the floor the budget requires.
An eviction is a deliberate API request against the pod's eviction subresource, and it is the only removal path that consults PDBs. kubectl drain cordons the node first, then submits an eviction for each pod and retries refused requests until they succeed or its --timeout expires; with no timeout set, it retries indefinitely, which is why a closed budget looks like a hang. Cluster Autoscaler scale-down, Karpenter consolidation and managed node upgrades all drain through the same API, so they inherit the same refusal. An admitted eviction is not a hard kill: the pod still gets its full graceful termination, including preStop hooks and terminationGracePeriodSeconds.
The disruption controller continuously computes four status fields for each PDB. expectedPods is the replica count of the workload that owns the selected pods, discovered through the pods' owner references and the owner's scale subresource. currentHealthy counts selected pods whose Ready condition is True. desiredHealthy is the minimum healthy count the budget demands. disruptionsAllowed is currentHealthy minus desiredHealthy, floored at zero. The Eviction API admits an eviction of a healthy pod only while disruptionsAllowed is at least one, and each admitted eviction consumes that allowance until a replacement pod becomes Ready somewhere else.
Two consequences follow. First, the budget is a rate limiter on voluntary disruption, not an availability guarantee: it cannot stop a node failure, and pods lost to involuntary disruption still count against it, so a crash-looping replica can close the gate for everyone else. Second, direct pod deletion bypasses the gate entirely, because a plain DELETE is not an eviction. Scripts that delete pods in a loop get no PDB protection at all, and a pod covered by two overlapping PDBs is rejected by the Eviction API outright, which is why selectors must never overlap.
The ALLOWED DISRUPTIONS column is disruptionsAllowed rendered for humans. Read it before every drain: a zero on any workload with pods on the target node means the drain will stall on that workload.
3. minAvailable vs maxUnavailable in PodDisruptionBudget deadlocks
In PodDisruptionBudget deadlocks, minAvailable and maxUnavailable describe the same floor from opposite sides, but they age differently. minAvailable fixes how many pods must stay healthy, while maxUnavailable fixes how many may be down, so maxUnavailable keeps allowing one disruption as replica counts change and minAvailable can silently tighten to zero.
A PDB sets exactly one of the two fields, as an integer or a percentage, next to a label selector that must match the workload's pod labels. With minAvailable: N, the budget requires N healthy pods and allows currentHealthy - N disruptions. With maxUnavailable: M, the budget tolerates M unavailable pods, so desiredHealthy becomes expectedPods - M and disruptions are allowed while fewer than M pods are down. Percentages are computed against expectedPods and the protected or disrupted count rounds up: minAvailable: 80% on ten replicas protects eight pods and allows two disruptions, while maxUnavailable: 25% on ten replicas allows three disruptions because 2.5 rounds up to three.
| Budget | Replicas | desiredHealthy | disruptionsAllowed at full health | Behaviour |
|---|---|---|---|---|
minAvailable: 2 |
3 | 2 | 1 | One eviction at a time |
minAvailable: 2 |
2 | 2 | 0 | Deadlock: no eviction ever succeeds |
maxUnavailable: 1 |
2 | 1 | 1 | One eviction at a time |
maxUnavailable: 1 |
10 | 9 | 1 | Still one at a time after scale-up |
minAvailable: 1 |
6 | 1 | 5 | Five pods may be evicted at once |
maxUnavailable: 0 |
any | all | 0 | Deadlock by design |
The table exposes the two failure shapes. A fixed minAvailable equal to the replica count is a permanent zero, and it often arrives by drift: the budget was correct at three replicas, the workload was scaled to two, and the budget became a wall. A loose minAvailable: 1 on a large service is the opposite hazard, letting a drain evict almost every replica at once and run the service at a fraction of its capacity. For most stateless services maxUnavailable: 1 is the safer default because it serialises evictions at any replica count. Reserve minAvailable for hard floors such as a quorum, where losing one more member breaks the system, and express capacity floors as percentages so they track scaling.
4. Reading disruptionsAllowed in PodDisruptionBudget deadlocks
Reading disruptionsAllowed is the fastest way to diagnose PodDisruptionBudget deadlocks, because it separates a structurally impossible budget from a temporarily exhausted one. Compare currentHealthy with desiredHealthy: equal values at full health mean the budget itself forbids eviction, while currentHealthy below desiredHealthy means the workload is already disrupted.
Start with the blocking budgets across the cluster, then drill into one status block:
Three readings matter. When currentHealthy equals desiredHealthy and every pod is Ready, the budget is the fault: minAvailable matches the replica count, maxUnavailable is zero, or a percentage rounded up to full protection. When currentHealthy is below desiredHealthy, something already consumed the allowance: a replica is not Ready, a rollout is mid-flight, or an earlier eviction's replacement has not become Ready yet. When expectedPods disagrees with the workload's replica count, suspect the selector or the owner: the budget may select pods from two workloads, select nothing at all, or belong to a custom controller whose owner does not expose a scale subresource, which leaves the controller unable to compute the expected count and the budget stuck at zero. Watch for a CalculateExpectedPodCountFailed event on the PDB in that case.
Check the pods behind the numbers before changing the budget. kubectl -n shop get pods -l app=session-store -o wide shows which pods are Ready and where they run, and kubectl -n shop describe pdb session-store shows the selector and recent events. A budget selecting pods in the wrong namespace, or labels that drifted from the Deployment's pod template, protects the wrong set of pods and produces exactly the confusing status readings operators chase for hours.
5. Voluntary vs involuntary disruptions in PodDisruptionBudget deadlocks
PodDisruptionBudget deadlocks only involve voluntary disruptions, because PDBs constrain evictions requested through the Eviction API and nothing else. Involuntary disruptions such as node failures, kernel panics and kubelet resource-pressure evictions cannot be vetoed by a budget, but the pods they remove still count against it.
Kubernetes divides pod loss into two classes. Voluntary disruptions are removals someone or something requests: draining a node for repair or upgrade, autoscaler scale-down, Karpenter consolidation, a managed node-group upgrade, or an operator removing a pod so something else fits. Involuntary disruptions are losses nobody chose: hardware failure, a deleted VM, a network partition, a spot reclaim, or the kubelet evicting pods because the node ran out of memory or disk. Only the voluntary class passes through the Eviction API, and only when the tool doing the removal chooses eviction over deletion. kubectl drain, Cluster Autoscaler, Karpenter and cloud upgrade tooling evict. kubectl delete pod, deleting a Deployment, and kubectl drain --disable-eviction delete, and deletions ignore PDBs completely.
| Disruption | Examples | PDB can veto? | Counts against budget? |
|---|---|---|---|
| Voluntary, via Eviction API | Node drain, autoscaler scale-down, Karpenter consolidation, managed upgrades | Yes | Yes |
| Voluntary, via delete | kubectl delete pod, deleting a Deployment, --disable-eviction |
No | Yes, once pods are unavailable |
| Involuntary | Node failure, kernel panic, VM loss, network partition | No | Yes |
| Kubelet pressure eviction | Memory or DiskPressure eviction on the node | No | Yes |
The counting rule is what turns unrelated failures into PodDisruptionBudget deadlocks. A three-replica service with maxUnavailable: 1 tolerates one unavailable pod. If a node failure takes one replica, the allowance is spent: disruptionsAllowed falls to zero and a routine drain on another node now stalls, even though the drain had nothing to do with the failure. The budget tracks how many pods are healthy now, not how many evictions have happened. Kubelet pressure eviction deserves a separate mental model, because it follows QoS class and resource pressure on the node rather than any budget; the Kubernetes QoS classes and eviction order guide covers that path. Defence against the involuntary class is replicas spread across nodes and zones; the PDB only negotiates the pace of the voluntary class.
6. Single-replica and 100% PodDisruptionBudget deadlocks
Single-replica workloads create the purest PodDisruptionBudget deadlocks, because any budget that protects the only pod also forbids its eviction. minAvailable: 1, maxUnavailable: 0 and minAvailable: 100% all produce disruptionsAllowed 0 forever, so every node running that pod becomes impossible to drain through the Eviction API.
The trap has a second edge. Percentage budgets round the disrupted count up, so maxUnavailable: 30% on a single replica allows one disruption, which means the only pod can be evicted and the service takes 100% unavailability during the move. An integer maxUnavailable: 1 on one replica does the same. Operators who copy a percentage budget from a multi-replica service onto a singleton often get either a permanent drain block or no protection at all, depending on which field they copied. Neither outcome matches the intent, because a single pod cannot be both always available and movable; something has to give.
Kubernetes documentation offers two honest options for a single-instance application. Run without a PDB and accept that voluntary disruptions cause brief downtime while the pod restarts elsewhere. Or set maxUnavailable: 0 as a deliberate coordination signal: the budget blocks drains, the cluster operator contacts the application owner, and the PDB is removed or relaxed for the agreed maintenance window, then restored. The second option only works when the human process around it exists. A forgotten maxUnavailable: 0 with no owner contact path is just a future 2 a.m. page.
The durable fix is a second replica. With two replicas and maxUnavailable: 1, maintenance proceeds one pod at a time and the service stays up. Where a second replica is impossible, because the workload is a singleton by design, write the maintenance procedure into the runbook next to the budget, and audit for this shape in CI: flag any PDB whose desiredHealthy equals expectedPods while the workload is healthy, since that combination guarantees a stalled drain later. The same audit catches the drift case, where a scale-down quietly turned a sane budget into a 100% budget.
7. Unhealthy pods and PodDisruptionBudget deadlocks
Unhealthy pods cause PodDisruptionBudget deadlocks when a running but not Ready pod consumes the budget's allowance and then cannot itself be evicted. The unhealthyPodEvictionPolicy field decides this case: the default IfHealthyBudget protects recovering pods, while AlwaysAllow lets drains evict not Ready pods so a broken replica cannot hold a node hostage.
A pod counts as healthy for budget purposes when its Ready condition is True. A CrashLoopBackOff replica, a pod stuck in startup, or a pod failing readiness because a dependency is down is running but not healthy. With three replicas, minAvailable: 2 and one crash-looping pod, currentHealthy is two and disruptionsAllowed is zero. Under the default IfHealthyBudget policy, the unhealthy pod may be evicted only while the application is not already disrupted, meaning currentHealthy must be at least desiredHealthy. It is, barely, in this example, so the broken pod can move. Drop to one healthy pod and the default flips: the not Ready pods are protected so they keep a chance to recover, and the drain stalls on pods that are serving nobody.
unhealthyPodEvictionPolicy: AlwaysAllow, stable since Kubernetes 1.31, changes that decision: running pods that are not Ready can always be evicted, while healthy pods still go through the normal budget check. Kubernetes documentation recommends AlwaysAllow for PDBs so misbehaving applications do not block node drains. Pods in Pending, Succeeded or Failed phase can be evicted regardless of the policy. The tradeoff is real but narrow: a pod that is seconds from becoming Ready, such as a database replica finishing catch-up, may be evicted before it becomes useful, restarting its recovery elsewhere. For stateless services that tradeoff favours AlwaysAllow. For quorum members and stateful replicas where an unready pod still holds valuable state, keep the default and accept slower drains.
Patching the policy does not fix a structurally zero budget. If every pod is Ready and disruptionsAllowed is still zero, the arithmetic in section 3 is the problem, and no eviction policy for unhealthy pods will change it.
8. Node drain and upgrade PodDisruptionBudget deadlocks
Node drain and upgrade PodDisruptionBudget deadlocks come in two waves: the budget refuses eviction, or eviction succeeds and the replacement pod cannot schedule, which keeps the budget exhausted for the next pod. Both waves look identical from the drain log, so check pod placement and cluster capacity before blaming the budget alone.
Work through a three-replica service with minAvailable: 2 spread across nodes. Draining the first node evicts one pod, the controller creates a replacement, and until that replacement is Ready the budget allows nothing more. If the replacement lands quickly, the drain proceeds one pod at a time, which is the budget doing its job. The stall begins when the replacement cannot schedule: the remaining nodes lack CPU or memory headroom, a DoNotSchedule topology spread constraint cannot be satisfied, a zonal volume pins the pod to a zone with no capacity, or every surviving node carries a taint the pod does not tolerate. The drain then waits on a pod that will never become Ready, and the next eviction is refused for a scheduling reason wearing a budget costume. The Kubernetes pod stuck Pending triage guide walks that diagnosis, and topology spread constraints and pod priority explains the placement rules behind it.
Parallel drains multiply the problem. Two operators, or an upgrade tool with a high max-unavailable setting, draining two nodes at once compete for the same disruptionsAllowed allowance and the same spare capacity. Each drain sees the other's evictions as budget consumption. Managed upgrades add their own behaviour on top: some wait, some fail the upgrade after a timeout, and some force-terminate pods, so know which behaviour your provider uses before the window starts. The kubeadm cluster administration guide covers the drain, upgrade and recover sequence for self-managed clusters, and the Kubernetes 1.37 upgrade checklist sequences a full version upgrade.
Prevent the second wave with capacity discipline. Keep enough spare capacity for one node's worth of the largest protected workload, add a surge node before draining when the cluster runs hot, drain one node at a time for quorum workloads, and always run drains with an explicit --timeout so a stall fails loudly inside the window instead of silently outliving it.
9. Karpenter and autoscaler PodDisruptionBudget deadlocks
Karpenter and autoscaler PodDisruptionBudget deadlocks happen when consolidation wants to remove an underutilised node but the Eviction API refuses to move its pods. The node stays, the bill stays, and the events usually name the blocker: a PDB with no allowance, a NodePool budget, a do-not-disrupt annotation, or pods that fit nowhere else.
Karpenter removes a node only after several independent gates open. The pods on the node must be evictable under their PDBs. The NodePool disruption budget must permit another voluntary disruption in the current window. The scheduling simulation must place every pod on surviving capacity or a cheaper replacement node. The pods must not carry the karpenter.sh/do-not-disrupt annotation. A minAvailable: 100% budget, a maxUnavailable: 0, or a single-replica service with minAvailable: 1 closes the first gate permanently, and Karpenter reports the node as unconsolidatable while it retries on its own schedule. Widening the PDB does nothing when the closed gate is a NodePool budget of zero nodes, and adding capacity does nothing when the PDB forbids every eviction, so identify the gate before changing anything.
Cluster Autoscaler scale-down follows the same contract: it simulates pod removal, respects PDBs, and skips nodes whose pods cannot move. In both systems the fix is usually on the workload side. Give the service a budget that allows one disruption, remove do-not-disrupt annotations from pods that can tolerate movement, and check that hard topology constraints still leave a legal placement after the node disappears. The Karpenter vs Cluster Autoscaler guide compares how the two systems approach node removal.
One boundary matters for cost expectations. Karpenter NodePool budgets and PDBs govern voluntary disruption. Node expiration and spot interruption handling are forceful paths: they drain with the time available and do not wait indefinitely for a budget to open. A PDB that blocks consolidation will not protect a workload from an expiring node, so expiry windows and interruption handling need their own rehearsal rather than reliance on the budget.
10. Rollouts, controllers and PodDisruptionBudget deadlocks
Rollouts and controllers interact with PodDisruptionBudget deadlocks in a way that surprises most teams: PDBs do not limit rolling updates at all. A Deployment or StatefulSet rollout is governed by its own maxSurge and maxUnavailable settings, but pods made unavailable by the rollout still count against the budget, so a rollout plus a drain can deadlock each other.
During a rolling update the controller terminates old pods and starts new ones under its own availability rules. The PDB is not consulted, which is why a service can roll happily with maxUnavailable: 0 in its budget. The interaction runs the other way: while the rollout has a pod down, currentHealthy drops, disruptionsAllowed falls to zero, and any drain touching that workload stalls until the rollout finishes and every replica is Ready again. Running a node upgrade and a large rollout in the same window is therefore a self-inflicted stall. Sequence them, or accept that the drain waits for the rollout.
Controller type changes recovery speed. A Deployment creates a replacement pod as soon as the old one starts terminating, so budget allowance returns as soon as the new pod is Ready. A StatefulSet must fully terminate pod-0 before recreating pod-0 with the same identity, so allowance returns later and drains of stateful workloads move at the pace of the slowest ordinal. DaemonSet pods are not evicted by drain at all; drain ignores them with --ignore-daemonsets, and a PDB selecting DaemonSet pods protects nothing useful. Selector hygiene matters as much as arithmetic: the PDB selector must match the workload's pod labels exactly, an empty selector matches every pod in the namespace, and overlapping selectors across two PDBs make the Eviction API reject evictions for the shared pods. Controller choice therefore belongs in the budget review, not after it.
11. Safe fixes for PodDisruptionBudget deadlocks
Safe fixes for PodDisruptionBudget deadlocks restore allowance without dropping the workload below its real availability floor. Work in order: read the budget status, fix readiness, add a replica or capacity, correct the budget arithmetic, set AlwaysAllow for broken pods, and treat budget bypasses as a last resort with a rollback plan.
First, prove which zero you have. If currentHealthy is below desiredHealthy, fix the unhealthy pods: a crash-looping replica, a failing readiness probe, or a rollout still in flight. Evicting around a broken workload treats the symptom. If every pod is Ready and the allowance is still zero, the budget arithmetic is wrong and the fix is in the PDB or the replica count.
Second, fund the budget. Scaling a two-replica service to three makes minAvailable: 2 allow one disruption immediately, with no budget change and no availability risk. This is the fastest safe unblock during an upgrade window, and the extra replica can be removed after maintenance if cost matters. Where capacity is the constraint, add a node or let the autoscaler surge before draining, so replacements become Ready and allowance regenerates.
Third, correct the budget so the deadlock cannot recur. Replace a fixed floor that drifted to 100% with maxUnavailable: 1 for stateless services, keep quorum floors as integers only when the replica count is contractually stable, and add unhealthyPodEvictionPolicy: AlwaysAllow where a not Ready pod holds no state worth protecting:
Last resorts exist, and each one spends availability. Deleting the PDB, draining with --disable-eviction, or deleting pods directly all bypass the budget and can take the workload below its floor, including below quorum. Use them only when the node must go now, the workload owner accepts the risk, and the budget is restored immediately after. Record the bypass in the incident log; an unrecorded PDB deletion tends to stay deleted.
12. PodDisruptionBudget deadlocks troubleshooting matrix and final checklist
The PodDisruptionBudget deadlocks matrix below maps each drain symptom to its mechanism and first check, so the fix matches the gate that is actually closed. Start every investigation with kubectl get pdb -A and the disruptionsAllowed reading, then work the row that matches your symptom before changing any budget.
| Symptom | Likely mechanism | First check | Fix |
|---|---|---|---|
| Drain repeats "Cannot evict pod... disruption budget" | disruptionsAllowed is 0 |
kubectl get pdb -A for the workload |
Fund or correct the budget (section 11) |
| ALLOWED DISRUPTIONS 0 with all pods Ready | minAvailable equals replicas, maxUnavailable: 0, or 100% budget |
Compare desiredHealthy with expectedPods |
Switch to maxUnavailable: 1 or scale up |
| ALLOWED DISRUPTIONS 0 with a pod not Ready | Unhealthy pod consumed the allowance | Pod readiness and restart counts | Fix the pod; set AlwaysAllow for stateless services |
| Eviction succeeds, replacement stays Pending | Capacity, taints, topology or zonal volume | kubectl describe pod scheduling events |
Add capacity or relax placement rules |
| Karpenter node never consolidates | PDB gate, NodePool budget, annotation, or placement | Node and NodePool events | Open the named gate; check do-not-disrupt |
| Upgrade stalls midway | Parallel drains competing, or provider timeout | Upgrade tool logs and PDB status | Drain serially; add surge capacity |
| Eviction rejected for shared pods | Overlapping PDB selectors | List PDBs selecting the pod | Remove the overlap; one PDB per pod |
| Drain completes but service drops | Budget too loose, e.g. minAvailable: 1 on many replicas |
Eviction concurrency during drain | Tighten to maxUnavailable: 1 or a percentage floor |
Final checklist before any drain, upgrade or consolidation window:
- Run
kubectl get pdb -Aand confirm every protected workload on the target nodes shows ALLOWED DISRUPTIONS of at least 1. - Confirm
expectedPodsmatches each workload's replica count; investigate mismatches as selector or owner problems. - Confirm no budget has
desiredHealthyequal toexpectedPodsat full health, unless it is a deliberate singleton coordination budget with an owner contact path. - Confirm single-replica workloads have an agreed maintenance procedure instead of an accidental 100% budget.
- Set
unhealthyPodEvictionPolicy: AlwaysAllowon stateless services so broken pods cannot stall maintenance. - Confirm spare capacity can absorb one node's pods, including topology and zonal volume constraints.
- Drain one node at a time for quorum workloads, and keep rollouts out of the drain window.
- Run drains with an explicit
--timeout, and record any budget bypass with its restoration step.
PodDisruptionBudget deadlocks are arithmetic failures wearing an availability costume. Read the four status fields, name the closed gate, and fix the number, the readiness, or the capacity that closed it. The budget then goes back to its real job: pacing voluntary disruption so maintenance and availability can both be true.
Frequently Asked Questions
What are PodDisruptionBudget deadlocks and where do I start?
PodDisruptionBudget deadlocks are stalls where the Eviction API refuses every eviction because disruptionsAllowed is zero, so a drain, upgrade or autoscaler retries forever. Start with kubectl get pdb -A, find budgets showing ALLOWED DISRUPTIONS 0, then compare currentHealthy, desiredHealthy and expectedPods to learn whether the budget arithmetic, pod readiness, or scheduling capacity closed the gate.
In PodDisruptionBudget deadlocks, why does kubectl drain repeat the disruption budget error?
kubectl drain submits evictions through the Eviction API and retries refused requests until they succeed or its timeout expires. The message "Cannot evict pod as it would violate the pod's disruption budget" means the API server returned HTTP 429 because eviction would drop healthy pods below the budget floor. Without a --timeout, drain retries indefinitely, which looks like a hang.
Should I use minAvailable or maxUnavailable to avoid PodDisruptionBudget deadlocks?
Use maxUnavailable: 1 for most stateless services, because it allows one disruption at any replica count and serialises evictions during drains. Use minAvailable when a hard floor matters, such as a quorum that needs two of three members, and prefer percentages for capacity floors. A fixed minAvailable equal to the replica count is the classic deadlock.
Can a single-replica PodDisruptionBudget cause PodDisruptionBudget deadlocks?
Yes. minAvailable: 1, maxUnavailable: 0 and minAvailable: 100% on one replica all produce disruptionsAllowed 0, so the pod can never be evicted and its node can never drain. A percentage maxUnavailable rounds up and allows the single pod to be evicted instead. Run a second replica, drop the PDB, or agree a maintenance procedure that relaxes the budget.
Do PodDisruptionBudget deadlocks affect rolling updates?
PDBs do not limit rolling updates; Deployment and StatefulSet rollouts follow their own maxSurge and maxUnavailable settings. Pods made unavailable by a rollout still count against the budget, though, so currentHealthy drops and disruptionsAllowed can reach zero during a rollout. A drain running in the same window then stalls until the rollout finishes and all replicas are Ready again.
Why does Karpenter leave nodes running during PodDisruptionBudget deadlocks?
Karpenter consolidates a node only when its pods can be evicted, the NodePool disruption budget allows another voluntary disruption, the pods fit on surviving or cheaper capacity, and no do-not-disrupt annotation blocks movement. A PDB with zero allowance closes the first gate, so the node stays unconsolidatable. Check node events to identify which gate is closed before changing budgets.
What is the safest fix for PodDisruptionBudget deadlocks without downtime?
Read the PDB status first, then fix readiness if a pod is unhealthy, scale the workload up one replica to fund the budget, or add node capacity so replacements become Ready. Correct a 100% budget to maxUnavailable: 1 and set unhealthyPodEvictionPolicy: AlwaysAllow for stateless services. Deleting the PDB or using --disable-eviction is a last resort that spends availability.