kueue: fix ClusterQueue flavor names to match ResourceFlavor examples - #1177
Open
Adi-204 wants to merge 1 commit into
Open
kueue: fix ClusterQueue flavor names to match ResourceFlavor examples#1177Adi-204 wants to merge 1 commit into
Adi-204 wants to merge 1 commit into
Conversation
Adi-204
requested review from
ashu8912,
illume,
joaquimrocha,
skoeva,
sniok,
vyncent-t and
yolossn
as code owners
August 14, 2026 17:28
clusterqueue-team-a.yaml referenced flavors "default" and "spot", but the corresponding ResourceFlavor test manifests are named "default-flavor" and "spot-flavor". Applying the manifests as documented left the ClusterQueue with status Active=False, reason=FlavorNotFound, so no workload could ever be admitted. Verified against a live cluster (Kueue v0.19.1): with the mismatched names the ClusterQueue never becomes Active; renaming to default-flavor/spot-flavor fixes it and the sample Job gets admitted end-to-end. Signed-off-by: Adi-204 <adiboghawala@gmail.com>
Adi-204
force-pushed
the
fix/kueue-clusterqueue-flavor-names
branch
from
August 14, 2026 17:29
91d2783 to
4f0cdf3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
kueue/test-files/deploy/clusterqueue-team-a.yamlreferenced flavors nameddefaultandspot, but the correspondingResourceFlavortest manifests (resourceflavor-default.yaml/resourceflavor-spot.yaml) are nameddefault-flavorandspot-flavor.default-flavor/spot-flavorso they match the ResourceFlavor examples.Root cause
The
ClusterQueuetest file was added in #864 with flavor namesdefault/spot. TheResourceFlavorexample files were added later already nameddefault-flavor/spot-flavor, and theClusterQueuewas never updated to match.Verification
Reproduced against a live cluster (minikube + Kueue v0.19.1,
v1beta2API):kubectl get clusterqueue team-a→status.conditions: Active=False, reason=FlavorNotFound. No workload can ever be admitted.Active=True, reason=Ready, message="Can admit new workloads".QuotaReserved=True,Admitted=True, and pods ran successfully.Test plan
resourceflavor-default.yaml,resourceflavor-spot.yaml,resourceflavor-topology.yaml, then the originalclusterqueue-team-a.yaml— confirmedActive=False (FlavorNotFound).Active=True (Ready).localqueue-team-a.yamlandjob-sample-workload.yaml— confirmed the Job's Workload was admitted and pods ran to completion.