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:
Ryler Hockenbury
2018-11-13 07:54:15 -05:00
committed by k8s-ci-robot
parent c888de8b38
commit e8901a2422
11 changed files with 2 additions and 10 deletions

View File

@@ -27,6 +27,8 @@ spec:
{% if kube_version is version('v1.11.1', '>=') %}
priorityClassName: system-cluster-critical
{% endif %}
nodeSelector:
beta.kubernetes.io/os: linux
serviceAccountName: coredns
tolerations:
- key: node-role.kubernetes.io/master

View File

@@ -31,7 +31,6 @@ spec:
{% if kube_version is version('v1.11.1', '>=') %}
priorityClassName: system-cluster-critical
{% 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
tolerations:

View File

@@ -30,7 +30,6 @@ spec:
{% if kube_version is version('v1.11.1', '>=') %}
priorityClassName: system-cluster-critical
{% 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
tolerations:

View File

@@ -18,7 +18,6 @@ spec:
tolerations:
- effect: NoSchedule
operator: Exists
# When having win nodes in cluster without this patch, this pod cloud try to be created in windows
nodeSelector:
beta.kubernetes.io/os: linux
containers:

View File

@@ -13,7 +13,6 @@ spec:
app: netchecker-agent-hostnet
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.6', '>=') %}