In this article
Calculate whole-Pod thresholds: percentage maxUnavailable rounds upward and can permit all capacity in a tiny fleet.
A small inference fleet uses a percentage disruption budget that appears conservative. During maintenance, the rounded threshold permits more loss than the operator expected. Percentages eventually become whole Pod counts, and rounding matters most when only a few replicas exist.
Identify the denominator
Read the selected Pods and their owning controller’s desired scale under the supported PDB rules. Current Ready count is not simply the denominator used for every percentage calculation. Save desired replicas, currentHealthy, desiredHealthy and disruptionsAllowed together. These fields explain different parts of the decision.
Apply rounding in the right direction
Kubernetes rounds percentage minAvailable upward to a whole number of required healthy Pods. It also rounds percentage maxUnavailable upward, this time increasing the allowed unavailable count. The same rounding direction therefore has different operational implications for the two fields. Do not treat complementary percentages as automatically identical at every fleet size.
Calculate the single-replica edge
For an illustrative fleet of 1 replica, maxUnavailable set to 30% rounds up to 1. The only replica can therefore be allowed for voluntary disruption under that threshold. This is an arithmetic example, not a suitable availability policy for every service. An integer requirement can express a different intent, but it must be checked across the intended scaling range.
Include existing unavailability
A PDB decision considers actual health and already unavailable replicas alongside its threshold. A rounded maximum is not an extra allowance on top of current failures. Inspect the status snapshot before assuming maintenance may remove that many additional Pods. The budget also cannot prevent an involuntary node failure or act as a universal deletion lock.
Test the scaling boundary
Calculate expected whole-Pod thresholds at the fleet sizes the service actually uses, then compare them with a synthetic controller’s PDB status. Include scale-down to the smallest supported fleet. Acceptance means the chosen integer effects match the service’s maintenance intent. It does not guarantee enough token throughput after an allowed eviction; the surviving model capacity needs its own workload-based qualification.
Primary references
Specifying a Disruption Budget.
Related reading: kubectl drain blocked by a PDB: what a disruption budget protects; GPU N+1 capacity: measuring maintenance headroom on a workload.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.