kubernetes/website

Document canonical way to set priority for static pods

Open

#46.859 aberto em 17 de jun. de 2024

Ver no GitHub
 (21 comments) (0 reactions) (1 assignee)HTML (13.918 forks)batch import
help wantedkind/buglanguage/enpriority/backlogsig/docssig/nodetriage/accepted

Métricas do repositório

Stars
 (4.127 stars)
Métricas de merge de PR
 (Mesclagem média 16d 13h) (160 fundiu PRs em 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/...

Guia do colaborador