Skip to content

Priority classes

priorityClassName is optional. If you set it, it must be one of the three classes below. Capsule rejects any other value at admission, including uber-user-important and uber-infra-important, which are reserved for platform workloads. A Pod without a class gets priority 0, so it is the first to be preempted. There is no global default class.

ClassValuePreemptsCan be preempted by
uber-user-preempt-high2000Any lower-priority PodPlatform workloads only
uber-user-preempt-medium1000Any lower-priority Podpreempt-high, platform workloads
uber-user-significant500Never (preemptionPolicy: Never); waits Pending for capacitypreempt-medium, preempt-high, platform workloads
(no class)0NothingEvery class above

Preemption only happens when a Pod can’t be scheduled because the cluster is full. The scheduler then evicts lower-priority Pods, lowest first.

Production services behind an Ingress and critical interactive sessions. Use it sparingly: if every tenant uses it, it ranks nothing above anything else.

Deadline-bound batch Jobs that are worth displacing significant and unclassed Pods.

Work you can afford to lose or rerun: dev Pods, experiments, opportunistic batch and CronJobs with slack. It never evicts anyone, and it is evicted before either preempt-* class.