Bind kube-dns containers to linux nodes to avoid Windows scheduling

This commit is contained in:
xiaozhang 2019-10-01 22:23:40 +08:00 committed by 张潇
parent c2c821534b
commit 845c223d13
3 changed files with 6 additions and 0 deletions

View File

@ -98,6 +98,8 @@ spec:
configMap:
name: kube-dns
optional: true
nodeSelector:
kubernetes.io/os: linux
containers:
- name: kubedns
image: k8s.gcr.io/k8s-dns-kube-dns:1.14.13

View File

@ -98,6 +98,8 @@ spec:
configMap:
name: kube-dns
optional: true
nodeSelector:
kubernetes.io/os: linux
containers:
- name: kubedns
image: k8s.gcr.io/k8s-dns-kube-dns:1.14.13

View File

@ -98,6 +98,8 @@ spec:
configMap:
name: kube-dns
optional: true
nodeSelector:
kubernetes.io/os: linux
containers:
- name: kubedns
image: k8s.gcr.io/k8s-dns-kube-dns:1.14.13