Skip to content

Commit

Permalink
Fix dns selectors for older k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Markus With committed Jun 23, 2020
1 parent 8d4a41c commit 348fc2e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

---
Expand Down

0 comments on commit 348fc2e

Please sign in to comment.