Fix: nodeAffinity for coredns-deployment and kubedns-deployment (#3746)
This commit is contained in:
parent
0cfcd39d55
commit
5daadc022d
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ spec:
|
||||||
- key: node-role.kubernetes.io/master
|
- key: node-role.kubernetes.io/master
|
||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- "true"
|
- ""
|
||||||
containers:
|
containers:
|
||||||
- name: coredns
|
- name: coredns
|
||||||
image: "{{ coredns_image_repo }}:{{ coredns_image_tag }}"
|
image: "{{ coredns_image_repo }}:{{ coredns_image_tag }}"
|
||||||
|
|
|
@ -54,7 +54,7 @@ spec:
|
||||||
- key: node-role.kubernetes.io/master
|
- key: node-role.kubernetes.io/master
|
||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- "true"
|
- ""
|
||||||
volumes:
|
volumes:
|
||||||
- name: kube-dns-config
|
- name: kube-dns-config
|
||||||
configMap:
|
configMap:
|
||||||
|
|
Loading…
Reference in a new issue