Skip to content
Opsfolk

Scheduling and scaling, topic 37 of 61

Priority, preemption and eviction

Optional

A PriorityClass gives Pods a priority. When a high-priority Pod cannot be scheduled, the scheduler may preempt, evicting lower-priority Pods to make room. Give system and critical services a high one; leave batch work low.

A node also evicts Pods on its own when it runs short of memory, disk or process IDs, starting with Pods using more than they requested, by QoS class and priority. PodDisruptionBudgets limit how many Pods voluntary evictions, such as a node drain, may take at once.

On Opsfolk

Elsewhere

Your progress