In this article
A topology domain must not gain preference credit from a node that cannot run the Pod; 0.20.6 fixes that scoring-population error.
Kueue 0.20.6 fixes a different preferred-affinity error: a node that could not run the Pod still contributed its preference score to its topology domain. That inflated domain score could lead to placement on a less preferred usable node. The issue concerns the population being scored, not whether a cached score survived. Only candidates that can actually serve the Pod should contribute to the ranking evidence used for this decision.
Separate hard eligibility from soft preference
PR 18459 scopes the bug to TASRespectNodeAffinityPreferred. A node can score highly on a preferred expression while failing a different requirement that prevents execution. Its attractive score is irrelevant to the Pod’s realizable placement. A proposed fixture makes that distinction explicit and records why the node is excluded. Without a verified exclusion reason, a test may accidentally score an eligible node and never exercise the faulty contribution described by the release.
A domain can contain mixed eligibility
The failure is visible when a domain contains both an ineligible high-scoring node and a usable lower-scoring node. Aggregating before filtering can make the domain look better than its actual placement options. Compare it with another domain whose usable nodes have genuinely stronger preference. The expected ranking should follow realizable candidates. This is a proposed diagnostic construction, not an assertion that domain scores always equal a simple sum under every topology configuration.
Inspect the selected usable node
A domain label alone may conceal the misleading contribution: the attractive node was never a possible execution target, while another node in that domain receives the Pod. A qualification record should connect domain selection with actual eligible candidates and eventual placement. That evidence shows why the result is less preferred despite a seemingly high domain score. It also prevents interpreting the repair as requiring placement on an ineligible node simply because its preferred expression matches.
Keep this distinct from cache correctness
This patch changes which nodes contribute to a preference result. A separate fix in the same release preserves scores on a node-match cache hit. Qualifying one does not prove the other: correct persistence can faithfully retain a score computed from the wrong population. Operational reviews should test filtering and cache reuse independently, then combine them if needed. The release makes no quantified scheduling-quality claim beyond repairing these concrete preference-handling errors.
Sources
- kubernetes-sigs/kueue v0.20.6 release notes
- [release-0.20] TAS: don’t let nodes that can’t run the Pod add to their domain’s affinity score 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.