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

贡献者指南