Merge pull request #69940 from MarcPow/master

Bind coredns containers to  linux nodes to avoid Windows scheduling
pull/564/head
Kubernetes Prow Robot 2019-01-23 12:19:53 -08:00 committed by GitHub
commit baaaa15fdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 0 deletions

View File

@ -110,6 +110,8 @@ spec:
tolerations: tolerations:
- key: "CriticalAddonsOnly" - key: "CriticalAddonsOnly"
operator: "Exists" operator: "Exists"
nodeSelector:
beta.kubernetes.io/os: linux
containers: containers:
- name: coredns - name: coredns
image: k8s.gcr.io/coredns:1.2.6 image: k8s.gcr.io/coredns:1.2.6

View File

@ -110,6 +110,8 @@ spec:
tolerations: tolerations:
- key: "CriticalAddonsOnly" - key: "CriticalAddonsOnly"
operator: "Exists" operator: "Exists"
nodeSelector:
beta.kubernetes.io/os: linux
containers: containers:
- name: coredns - name: coredns
image: k8s.gcr.io/coredns:1.2.6 image: k8s.gcr.io/coredns:1.2.6

View File

@ -110,6 +110,8 @@ spec:
tolerations: tolerations:
- key: "CriticalAddonsOnly" - key: "CriticalAddonsOnly"
operator: "Exists" operator: "Exists"
nodeSelector:
beta.kubernetes.io/os: linux
containers: containers:
- name: coredns - name: coredns
image: k8s.gcr.io/coredns:1.2.6 image: k8s.gcr.io/coredns:1.2.6

View File

@ -237,6 +237,8 @@ spec:
operator: Exists operator: Exists
- key: {{ .MasterTaintKey }} - key: {{ .MasterTaintKey }}
effect: NoSchedule effect: NoSchedule
nodeSelector:
beta.kubernetes.io/os: linux
containers: containers:
- name: coredns - name: coredns
image: {{ .Image }} image: {{ .Image }}