mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-10 19:07:37 -02:30
Remove outdated CriticalAddonsOnly toleration and critical-pod annotation (#6202)
This commit is contained in:
@@ -31,8 +31,6 @@ spec:
|
||||
tolerations:
|
||||
- key: node-role.kubernetes.io/master
|
||||
effect: NoSchedule
|
||||
- key: "CriticalAddonsOnly"
|
||||
operator: "Exists"
|
||||
{% if dns_extra_tolerations | default(None) %}
|
||||
{{ dns_extra_tolerations | list | to_nice_yaml(indent=2) | indent(8) }}
|
||||
{% endif %}
|
||||
|
||||
@@ -30,7 +30,6 @@ spec:
|
||||
labels:
|
||||
k8s-app: dns-autoscaler{{ coredns_ordinal_suffix }}
|
||||
annotations:
|
||||
scheduler.alpha.kubernetes.io/critical-pod: ""
|
||||
seccomp.security.alpha.kubernetes.io/pod: 'runtime/default'
|
||||
spec:
|
||||
priorityClassName: system-cluster-critical
|
||||
@@ -43,8 +42,6 @@ spec:
|
||||
- effect: NoSchedule
|
||||
operator: Equal
|
||||
key: node-role.kubernetes.io/master
|
||||
- key: "CriticalAddonsOnly"
|
||||
operator: "Exists"
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
|
||||
@@ -27,8 +27,6 @@ spec:
|
||||
operator: "Exists"
|
||||
- effect: NoExecute
|
||||
operator: "Exists"
|
||||
- key: "CriticalAddonsOnly"
|
||||
operator: "Exists"
|
||||
containers:
|
||||
- name: node-cache
|
||||
image: "{{ nodelocaldns_image_repo }}:{{ nodelocaldns_image_tag }}"
|
||||
|
||||
Reference in New Issue
Block a user