mirror of https://github.com/k3s-io/k3s
Merge pull request #69940 from MarcPow/master
Bind coredns containers to linux nodes to avoid Windows schedulingpull/564/head
commit
baaaa15fdf
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue