Bind coredns containers to linux nodes to avoid Windows scheduling

This commit is contained in:
Marc Power
2018-10-17 12:12:45 -07:00
parent a932475bfe
commit eb818f95d1
4 changed files with 8 additions and 0 deletions

View File

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