In this article
Sorted resource-name order now determines the winning flavor label; deterministic selectors still require a separate compatibility review.
Kueue 0.20.6 removes nondeterminism when assigned ResourceFlavors specify different values for the same node label. It now keeps the value from the first flavor in sorted resource-name order. This makes the resulting Pod node selector reproducible, but reproducibility is narrower than compatibility: conflicting infrastructure descriptions still deserve inspection even when the controller chooses the same winner every time.
The sort key is the resource name
PR 18369 specifies sorted resource-name order, not alphabetical flavor name, creation time or user-entered list order. A qualification case should choose resource names and flavor names whose orders disagree, then inspect the generated selector. Otherwise a test can pass while asserting the wrong precedence rule. The release gives a concrete winner selection mechanism, so operational documentation should name that mechanism instead of loosely saying that the first configured flavor always wins.
Repeatability exposes configuration conflicts
Before the fix, repeated equivalent admissions could produce different selectors from conflicting label values. A proposed test permutes input presentation and repeats the conversion while preserving assignments. It should compare semantic selector content rather than serialization order. Stable output makes diagnosis easier, but the conflicting source values should remain in the evidence. Hiding them after choosing a winner would make a deterministic yet unsuitable selector look like an unambiguous infrastructure specification.
A winner does not prove joint feasibility
If two flavors encode incompatible expectations for one node label, selecting one value cannot establish that both resource assignments are physically realizable together. Check candidate nodes against the complete resulting request and the intended hardware meaning of each flavor. The patch does not claim automatic conflict rejection or a solver for contradictory labels. It defines deterministic construction of a selector; feasibility remains a separate scheduling and configuration question.
Keep admission and Pod placement evidence together
A useful operational record contains assigned flavors, resource names, the resulting node selector and subsequent Pod scheduling conditions. That chain distinguishes a wrong construction from a correct construction that cannot find a suitable node. The release repairs nondeterministic output, not every cause of pending Pods. Qualification can establish stable precedence with a small fixture; any claim about improved production scheduling success requires observations of the actual workload and node population.
Sources
- kubernetes-sigs/kueue v0.20.6 release notes
- [release-0.20] Make conflicting flavor node labels deterministic by k8s-infra-cherrypick-robot
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.