mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-31 22:46:19 -02:30
fix(kubernetes/node): use numeric priority for static pods (#13490)
Signed-off-by: Jules Skrill <julesskrill@gmail.com>
This commit is contained in:
@@ -144,6 +144,10 @@ spec:
|
||||
- kubernetes
|
||||
ip: 127.0.0.1
|
||||
hostNetwork: true
|
||||
{# Static pods do not support priorityClassName, so set the numeric priority of
|
||||
system-node-critical directly, otherwise kubelet may evict this pod early:
|
||||
https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#pod-selection-for-kubelet-eviction #}
|
||||
priority: 2000001000
|
||||
volumes:
|
||||
- hostPath:
|
||||
path: /etc/kubernetes/{{kube_vip_admin_conf}}
|
||||
|
||||
Reference in New Issue
Block a user