kubernetes/website

Document canonical way to set priority for static pods

Open

#46,859 opened on Jun 17, 2024

View on GitHub
 (21 comments) (0 reactions) (1 assignee)HTML (13,918 forks)batch import
help wantedkind/buglanguage/enpriority/backlogsig/docssig/nodetriage/accepted

Repository metrics

Stars
 (4,127 stars)
PR merge metrics
 (Avg merge 16d 13h) (160 merged PRs in 30d)

Description

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/...

Contributor guide