mirror of https://github.com/kubernetes/kops.git
Merge pull request #2288 from ottoyiu/cluster-autoscaler-1.6
Change how tolerations are defined in cluster-autoscaler.yaml for k8s 1.6
This commit is contained in:
commit
214f841cb8
|
@ -15,6 +15,7 @@ spec:
|
|||
labels:
|
||||
k8s-app: cluster-autoscaler
|
||||
annotations:
|
||||
# For 1.6, we keep the old tolerations in case of a downgrade to 1.5
|
||||
scheduler.alpha.kubernetes.io/tolerations: '[{"key":"dedicated", "value":"master"}]'
|
||||
spec:
|
||||
containers:
|
||||
|
@ -43,4 +44,7 @@ spec:
|
|||
hostPath:
|
||||
path: {{SSL_CERT_PATH}}
|
||||
nodeSelector:
|
||||
kubernetes.io/role: master
|
||||
node-role.kubernetes.io/master: ""
|
||||
tolerations:
|
||||
- key: "node-role.kubernetes.io/master"
|
||||
effect: NoSchedule
|
||||
|
|
Loading…
Reference in New Issue