kubernetes/website

Document canonical way to set priority for static pods

Open

#46.859 aperta il 17 giu 2024

Vedi su GitHub
 (21 commenti) (0 reazioni) (1 assegnatario)HTML (13.918 fork)batch import
help wantedkind/buglanguage/enpriority/backlogsig/docssig/nodetriage/accepted

Metriche repository

Star
 (4127 star)
Metriche merge PR
 (Merge medio 16g 13h) (160 PR mergiate in 30 g)

Descrizione

Per doc, static pods does not support priorityClassName field. However, when static pods are created with only priority values set to 2000001000 (that matches with system-node-critical) kubelet prints the following error:

forbidden: the integer value of priority (2000001000) must not be provided in pod spec; priority admission controller computed 0 from the given PriorityClass name" pod="kube-system/...

Guida contributor