Skip to content

Update queueing strategy API comments for the 2-phase Admission #5787

Open
@tenzen-y

Description

@tenzen-y

What happened:
The SecondPass scheduling mechanism takes head workloads from ClusterQueue heads and the second pass queue in

kueue/pkg/queue/manager.go

Lines 650 to 651 in 5665ed2

workloads = append(workloads, m.secondPassQueue.takeAllReady()...)
for cqName, cq := range m.hm.ClusterQueues() {
.

For the BestEffort FIFIO strategy, this sounds reasonable since the strategy allows Kueue to admit following workloads when the head workload is inadmissible.

However, in the StrictFIFO strategy, if there are any workloads in the second pass queue, queueManager should not take the following workloads from the clusterQueue to guarantee the order strictly.

What you expected to happen:
In the strict FIFO strategy mode, Kueue must always admit the head workload first.

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version):
  • Kueue version (use git describe --tags --dirty --always):
  • Cloud provider or hardware configuration:
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

Metadata

Metadata

Assignees

Labels

kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions