1

I'm working on an application that launches K8S Job (dockerised computer science batchs applications) and I want to prioritizes their launchs.

I don't want to use preemption because all jobs have to be done and I want to be sure that the scheduling order is maintained.

When I read this doc: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#non-preempting-priority-class It seems that, in non preempting cases, high priority pods can be scheduled after low priority ones if K8S doesn't have the necessary resources at the time. In case of high priority Jobs are the most demanding, this kind of pods will never be scheduled.

How can I have a control of that decisions?

Thanks!

Saveriu CIANELLI
  • 510
  • 5
  • 17

1 Answers1

1

As you need to use only Non preemptive refer to this SO and Doc which helps you in understanding the usage of this non preemptive class.

Hemanth Kumar
  • 2,728
  • 1
  • 4
  • 19