mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 22:20:51 +00:00
Merge pull request #83358 from wawa0210/zx-kubedns
Bind kube-dns containers to linux nodes to avoid Windows scheduling on kubernetes cluster includes linux nodes and windows nodes
This commit is contained in:
@@ -100,6 +100,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
|
||||
|
@@ -100,6 +100,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
|
||||
|
@@ -100,6 +100,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
|
||||
|
Reference in New Issue
Block a user