diff --git a/upup/models/cloudup/resources/addons/coredns.addons.k8s.io/k8s-1.12.yaml.template b/upup/models/cloudup/resources/addons/coredns.addons.k8s.io/k8s-1.12.yaml.template index 9dedbc99cc4d1..8df5e3a223b94 100644 --- a/upup/models/cloudup/resources/addons/coredns.addons.k8s.io/k8s-1.12.yaml.template +++ b/upup/models/cloudup/resources/addons/coredns.addons.k8s.io/k8s-1.12.yaml.template @@ -119,7 +119,7 @@ spec: - --logtostderr=true - --v=2 nodeSelector: - kubernetes.io/arch: amd64 + kubernetes.io/role: master priorityClassName: system-cluster-critical tolerations: - key: "CriticalAddonsOnly" diff --git a/upup/models/cloudup/resources/addons/kube-dns.addons.k8s.io/k8s-1.12.yaml.template b/upup/models/cloudup/resources/addons/kube-dns.addons.k8s.io/k8s-1.12.yaml.template index 3ce5ee5bab5a1..31e6380367740 100644 --- a/upup/models/cloudup/resources/addons/kube-dns.addons.k8s.io/k8s-1.12.yaml.template +++ b/upup/models/cloudup/resources/addons/kube-dns.addons.k8s.io/k8s-1.12.yaml.template @@ -70,7 +70,7 @@ spec: - --logtostderr=true - --v=2 nodeSelector: - kubernetes.io/arch: amd64 + kubernetes.io/role: master priorityClassName: system-cluster-critical tolerations: - key: "CriticalAddonsOnly" diff --git a/upup/models/cloudup/resources/addons/kube-dns.addons.k8s.io/k8s-1.6.yaml.template b/upup/models/cloudup/resources/addons/kube-dns.addons.k8s.io/k8s-1.6.yaml.template index b7c8e5ba9987e..907ce3092cd43 100644 --- a/upup/models/cloudup/resources/addons/kube-dns.addons.k8s.io/k8s-1.6.yaml.template +++ b/upup/models/cloudup/resources/addons/kube-dns.addons.k8s.io/k8s-1.6.yaml.template @@ -68,9 +68,13 @@ spec: - --default-params={"linear":{"coresPerReplica":256,"nodesPerReplica":16,"preventSinglePointFailure":true}} - --logtostderr=true - --v=2 + nodeSelector: + kubernetes.io/role: master tolerations: - key: "CriticalAddonsOnly" operator: "Exists" + - key: node-role.kubernetes.io/master + operator: Exists serviceAccountName: kube-dns-autoscaler ---