kubernetes/website

Document canonical way to set priority for static pods

Open

#46,859 建立於 2024年6月17日

在 GitHub 查看
 (21 留言) (0 反應) (1 負責人)HTML (13,918 fork)batch import
help wantedkind/buglanguage/enpriority/backlogsig/docssig/nodetriage/accepted

倉庫指標

Star
 (4,127 star)
PR 合併指標
 (平均合併 16天 13小時) (30 天內合併 160 個 PR)

描述

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

貢獻者指南