mirror of https://github.com/kubernetes/kops.git
Set tolerations on cluster-autoscaler.yaml as field for Kubernetes 1.6 support
This commit is contained in:
parent
184896aae1
commit
0993e0334b
|
@ -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