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.
| Class | Value | Preempts | Can be preempted by |
|---|---|---|---|
uber-user-preempt-high | 2000 | Any lower-priority Pod | Platform workloads only |
uber-user-preempt-medium | 1000 | Any lower-priority Pod | preempt-high, platform workloads |
uber-user-significant | 500 | Never (preemptionPolicy: Never); waits Pending for capacity | preempt-medium, preempt-high, platform workloads |
| (no class) | 0 | Nothing | Every 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.
Which class to use
Section titled “Which class to use”uber-user-preempt-high
Section titled “uber-user-preempt-high”Production services behind an Ingress and critical interactive sessions. Use it sparingly: if every tenant uses it, it ranks nothing above anything else.
uber-user-preempt-medium
Section titled “uber-user-preempt-medium”Deadline-bound batch Jobs that are worth displacing significant and unclassed Pods.
uber-user-significant
Section titled “uber-user-significant”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.