Right now, every Job has the same priority and if no candidate node is available the Task stays in PENDING state.
An alternative would be to provide a priority to every Job.
When no node is available to schedule a task, the scheduler would try to evict one or more lower priority task to make room for it.
Since eviction might be costly, Jobs could hint they are Preemptive - therefore informing the scheduler that it's okay to evict them to make room for someone else.
Right now, every Job has the same priority and if no candidate node is available the Task stays in
PENDINGstate.An alternative would be to provide a priority to every Job.
When no node is available to schedule a task, the scheduler would try to evict one or more lower priority task to make room for it.
Since eviction might be costly, Jobs could hint they are
Preemptive- therefore informing the scheduler that it's okay to evict them to make room for someone else.