generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 500
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Description
Kueue version: 0.15.0
Since #7289, changing the WorkloadPriorityClass assigned to a Workload may be reconciled (i.e. lead to immediate change of workload's priority, up to some preemptions).
However, changing the value of a (fixed) WorkloadPriorityClass assigned to a Workload is still not reconciled, and has no effect on the workload.
Real repro: run this script (see its output). In short:
- Set up 2 priority classes:
prio-1(value 1000) andprio-2(value 2000) - Create
job-1withprio-1(gets queued) andjob-2withprio-2(gets admitted) - Downgrade
prio-2to have.value = 500 - Upgrade
prio-1to have.value = 3000 - Neither of the 2 updates does any change to the workloads. (So, it doesn't matter if the workload is admitted or suspended).
The picture is still the original one:NAME RESERVED_IN PRIORITY job-repro-job-1-b77a9 <none> 1000 job-repro-job-2-5004d repro-cq 2000
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.Important over the long term, but may not be staffed and/or may need multiple releases to complete.