mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
Apply linux node selector to coreDNS deployment (#3688)
* Apply linux node selector to coreDNS deployment * Remove comment before linux node selector on manifests * mend
This commit is contained in:
committed by
k8s-ci-robot
parent
c888de8b38
commit
e8901a2422
@@ -12,7 +12,6 @@ spec:
|
||||
{% if kube_version is version('v1.6', '>=') %}
|
||||
dnsPolicy: ClusterFirst
|
||||
{% endif %}
|
||||
# When having win nodes in cluster without this patch, this pod cloud try to be created in windows
|
||||
nodeSelector:
|
||||
beta.kubernetes.io/os: linux
|
||||
{% if kube_version is version('v1.11.1', '>=') %}
|
||||
|
||||
@@ -7,7 +7,6 @@ metadata:
|
||||
k8s-app: kube-nginx
|
||||
spec:
|
||||
hostNetwork: true
|
||||
# When having win nodes in cluster without this patch, this pod cloud try to be created in windows
|
||||
nodeSelector:
|
||||
beta.kubernetes.io/os: linux
|
||||
{% if kube_version is version('v1.11.1', '>=') %}
|
||||
|
||||
Reference in New Issue
Block a user