← All notes

PriorityClass and priorityClassName let the Kubernetes scheduler preempt lower-priority Pods

Answer: Create a PriorityClass with a value (higher value, higher priority), then set priorityClassName in the Pod template of a Deployment or other workload. If no Node fits a pending Pod, preemption logic evicts lower-priority Pods from a Node so the pending Pod can be scheduled there.

Example

apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
  name: high-priority
value: 1000000
globalDefault: false
description: "Use for latency-critical services."
---
# in the Pod template
spec:
  priorityClassName: high-priority

PriorityClass rules

Non-preempting classes

preemptionPolicy: Never places Pods in the scheduling queue ahead of lower-priority pods, but they cannot preempt other pods; they wait until sufficient resources are free. The default is PreemptLowerPriority. Non-preempting pods may still be preempted by other, high-priority pods.

Limits of preemption

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Pod Priority and Preemption; kubernetes/website (GitHub), pod-priority-preemption.md (source page). CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Pod Priority and Preemption; kubernetes/website (GitHub), pod-priority-preemption.md (source page). CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors.

Cite this

Permanent ID: iil:note:f2ykqxww

iinventedlight. 2026. "PriorityClass and priorityClassName let the Kubernetes scheduler preempt lower-priority Pods." iinventedlight Library, iil:note:f2ykqxww, version of 2026-11-18. https://iinventedlight.com/library/notes/kubernetes-pod-priority-preemption/. License: CC-BY-4.0.

@misc{iil_note_f2ykqxww,
  author = {{iinventedlight}},
  title = {{PriorityClass and priorityClassName let the Kubernetes scheduler preempt lower-priority Pods}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-18},
  url = {https://iinventedlight.com/library/notes/kubernetes-pod-priority-preemption/},
  note = {Permanent ID iil:note:f2ykqxww. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/kubernetes-pod-priority-preemption.md.