-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClusterQueue not considering next ResourceFlavor when whenCanPreempt: Preempt is set #1344
Comments
I will plan on submitting a test case reproducing this issue if nobody has gotten to it at my next chance - might be Monday. |
/assign |
cc @KunWuLuan if you have any ideas. |
I will try to reproduce the case today. |
There is some problem in cq.AllocatableResourceGeneration and wl.LastAssignment.ClusterQueueGeneration. I am working on it. cc @alculquicondor |
It seem that cluster queue is updated and cq.AllocatableResourceGeneration is added after the third job is scheduled. After I add a check about RGs, the problem is solved. |
What happened:
Setting
whenCanPreempt: Preempt
in a ClusterQueue with 2 resource flavors appears to stop the ClusterQueue from considering the 2nd resource flavor.How to reproduce it (as minimally and precisely as possible):
NOTE: ClusterQueue is configured as follows:
What you expected to happen:
All 3 jobs should be admitted (quota from resource flavor 2 should be used).
Anything else we need to know?:
Condition of non-admitted Workload:
Environment:
kubectl version
):git describe --tags --dirty --always
): Built from main (commit4405e35b51bb153611e0a01f48884aa2c131055c
- deployed with manifests from0.5.0
)cat /etc/os-release
):uname -a
):The text was updated successfully, but these errors were encountered: