cortex
cortex copied to clipboard
Prioritization of Task/Batch jobs
trafficstars
Description
A field like priority could be added to the job submission spec that could prioritize certain jobs over the others. The values the priority field could take could be number-based (1, 5, 90, etc) or label-based (low, medium, high).
Motivation
If a cluster can only have up to 100 instances and the cluster is already close to being maxed out (aka overcommitted), setting higher/lower priorities for specific tasks could prove to be useful.
Additional context
https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/