본문 바로가기
Infra#Infra#Kubernetes조회 1

PriorityClass란?

정의

Pod 우선순위. 리소스 부족 시 낮은 우선순위 Pod를 축출(preempt).

PriorityClass

apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata: {name: critical}
value: 1000000
globalDefault: false
preemptionPolicy: PreemptLowerPriority

활용

프로덕션 Pod 우선, 배치 작업 preempt.

🔗 함께 보면 좋은 용어

Infra 전체 →