Skip to content

Workload priority class value changes are not reconciled #8322

@olekzabl

Description

@olekzabl

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) and prio-2 (value 2000)
  • Create job-1 with prio-1 (gets queued) and job-2 with prio-2 (gets admitted)
  • Downgrade prio-2 to have .value = 500
  • Upgrade prio-1 to 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.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions