k8wiz
Kubernetes
Hard
Concepts

What is the purpose of a Kubernetes PriorityClass?

Select your answer:

Show answer and explanation

Answer: To determine the order in which pods are scheduled and evicted

Explanation

PriorityClass defines the priority of a pod relative to other pods. When pods are created, they can be assigned a priority, and the scheduler uses this priority to determine the order of scheduling. Higher-priority pods are scheduled before lower-priority pods and can preempt lower-priority pods when resources are constrained.