Interview Prep/Kubernetes/Scheduling, Resources & Autoscaling

What are PriorityClasses and preemption?

IntermediateConceptScheduling, Resources & Autoscaling
Answer

A PriorityClass assigns an integer priority to Pods. When a high-priority Pod is Pending, the scheduler may preempt (evict) lower-priority Pods on a node to make room. Built-in system-cluster-critical and system-node-critical protect core add-ons. preemptionPolicy: Never queues without evicting.

All Kubernetes questions Roadmap: Kubernetes core

More on Scheduling, Resources & Autoscaling