The PriorityClasses exist in the repository but no pod uses them, so every platform pod still evicts at priority 0. Attach platform-critical to Keycloak (CR spec.scheduling) and Gitea (chart priorityClassName), and platform-low to Loki (singleBinary) and Tempo. The Keycloak CR also gets spec.image at the running 26.7.0 digest with startOptimized: false: with spec.image the operator otherwise assumes a pre-built optimized image, and this is the stock one. Grafana and pgAdmin have no top-level priorityClassName in their charts and are left for later; platform-postgres is W1's file and tech-log belongs to its deploy/ directory. Risk: applying restarts Keycloak, Gitea, Loki and Tempo once, so it belongs in the k3s restart window, after the PriorityClasses exist (a pod that names a missing class is rejected). The accepted-drift list holds these objects until 2026-11-30. Verification (desktop): render-phase1/2 and render-observability-core pass with the four priorityClassName values; kubectl diff (server dry-run) against live shows only these fields.
플랫폼 PriorityClass
노드가 한 대라 자원이 모자라면 kubelet이 파드를 내보낸다. 내보낼 순서는 requests를 넘었는지, 그다음 우선순위로 정한다. 2026-11-09 디스크 축출 때 플랫폼 파드는 모두 우선순위 0이라 tech-log 운영 파드가 Grafana·kube-state-metrics와 같은 순위로 나갔다.
| 이름 | 값 | 선점 | 붙일 곳 |
|---|---|---|---|
platform-critical |
1000000 | 낮은 것을 선점 | Gitea(services/gitea values), Keycloak(CR spec.scheduling). platform-postgres는 W1, tech-log는 tech-log deploy/ |
platform-low |
-1000 | 선점 안 함 | Loki(singleBinary), Tempo. Grafana·pgAdmin은 chart에 최상위 키가 없어 아직 안 붙였다 |
- 아무것도 안 붙인 파드는 기본값 0이다. 시스템 클래스(
system-*, 20억)는 그대로 가장 높다. globalDefault는 둘 다 끈다. 새 파드가 모르게 우선순위를 얻지 않게 하려는 것이다.- 클래스를 만드는 것은 아무 파드도 바꾸지 않는다. 붙이는 것은 파드 재시작을 부르므로
k3s 재시작 창에 한다(
docs/runbooks/k3s-restart-window.md). - 클래스를 먼저 만든다. 없는 클래스를 가리키는 파드는 생성이 거절돼 Deployment가 새 파드를 못 만든다.
kubectl apply -k services/priority-classes
kubectl get priorityclass platform-critical platform-low