Do non-preemptible pods on Kueue still preempt lower-priority pods? #3639
-
Hi folks, had a question about preemption + Kueue to better my understanding. My understanding of workload priority class is that if I set pod-level priority, it is used for both scheduling and pod-priority based on this kueue documentation. In k8s, a non-preempting priority class means that In a simple setup, I set 2 jobs to have Simple example is below: PriorityClass:
Jobs:
ClusterQueue:
LocalQueue:
When I let the mid-prio-batch-job run, then before it completes, start the high-prio-batch-job, I can see the mid-prio job is suspended and pods are deleted, then the high-prio job starts. For my understanding, is pod-level |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Yes, we currently don't consider There are a couple of related topics which can help for your use-case (let us know if this helps):
Now, I think it might be considered a bug (or omission) that we don't consider the |
Beta Was this translation helpful? Give feedback.
Yes, we currently don't consider
preemptionPolicy
(only the priorities) for workload-level scheduling and preemption (here are the look ups, but int32 is returned.There are a couple of related topics which can help for your use-case (let us know if this helps):
Now, I think it might be considered a bug (or omission) that we don't consider the
preemptionPolicy: Never
, but I'm not sure about the reasoning process. Maybe @tenzen-y remembers / knows the details. When deciding if this is a bug or not we need to be careful a…