In this article
Equal target-domain capacity no longer falls straight to alphabetical order: the default-on Beta gate adds an ancestor-capacity tie-break first.
Kueue 0.20.6 changes a topology-placement tie-break that could fragment larger intact ancestor blocks. When candidate domains have equal target-level capacity and topology spread count, the scheduler now considers ancestor free capacity before falling back to alphabetical label paths. The TASAncestorCapacityTieBreak gate is Beta and enabled by default. This is a placement-policy detail, not a published claim that every topology workload gains throughput.
The earlier comparisons still take precedence
PR 18537 places compareAncestorCapacity after target-level capacity and spread checks, before the final levelValues comparison. A test must hold the earlier criteria equal to reach this new rule. If one rack can fit more Pods than another, that difference can legitimately decide placement before ancestor capacity is considered. Operational explanations should retain the comparator order rather than reduce the policy to always choosing the smallest ancestor regardless of other constraints.
Ancestor shape can matter despite equal racks
The upstream example uses a block, rack and host hierarchy. Equal candidate racks can sit beneath differently occupied blocks; an alphabetical rack path ignores that larger shape. The new bottom-up comparison favors packing smaller or partially occupied ancestors before consuming a larger intact block. A proposed fixture should deliberately make alphabetical order prefer the opposite candidate, so the observed selection demonstrates the ancestor rule rather than an accidental agreement between two policies.
Packing intent is not measured future capacity
Preserving a larger intact block is a policy rationale for reducing fragmentation. It does not guarantee that a later large job arrives or can use that block. A workload study would need the arrival sequence, requested domain levels and competing constraints to measure practical benefit. The release supplies the tie-break behavior, not a utilization benchmark. Qualification can establish the chosen domain in a controlled fixture without claiming a universal improvement in cluster efficiency.
Record the gate and residual alphabetical fallback
Because the gate is default-on Beta, an upgrade can change placement even without an explicit configuration edit. Record its effective value when comparing runs. If ancestor capacities also tie, the alphabetical fallback still exists, so repeatability alone does not show which rule selected the winner. The patch’s reviewable contract is the added comparison at a defined position in the ordering, with both gated behavior and unchanged fallback cases included in verification.
Sources
- kubernetes-sigs/kueue v0.20.6 release notes
- [release-0.20] TAS: break equal-capacity domain ties by ancestor free capacity by HristoMohamed
Related reading
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.