Express placement preferences for job allocations within your cluster using affinities and spread. Prevent priority inversion with preemption.
Learn about advanced scheduling features including affinity and spread.
Enable and use preemption for service and batch jobs in Nomad to keep critical jobs running by evicting lower priority work.
Express placement preferences for your jobs using affinities. Affinities act like soft constraints, and jobs using them will run even if the affinity can not be met.
Prevent failures across a physical domain such as datacenter or rack from affecting application availability by using spread criteria in your jobs.