mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Make kube-proxy a critical pod
This commit is contained in:
parent
afd676d94c
commit
4fff49bb93
@ -38,6 +38,14 @@ kind: Pod
|
|||||||
metadata:
|
metadata:
|
||||||
name: kube-proxy
|
name: kube-proxy
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
|
# This annotation lowers the possibility that kube-proxy gets evicted when the
|
||||||
|
# node is under memory pressure, and prioritizes it for admission, even if
|
||||||
|
# the node is under memory pressure.
|
||||||
|
# Note that kube-proxy runs as a static pod so this annotation does NOT have
|
||||||
|
# any effect on rescheduler (default scheduler and rescheduler are not
|
||||||
|
# involved in scheduling kube-proxy).
|
||||||
|
annotations:
|
||||||
|
scheduler.alpha.kubernetes.io/critical-pod: ''
|
||||||
labels:
|
labels:
|
||||||
tier: node
|
tier: node
|
||||||
component: kube-proxy
|
component: kube-proxy
|
||||||
|
Loading…
Reference in New Issue
Block a user