Schedule autoscaler-addon in master nodes

This commit is contained in:
Sergio Ballesteros 2017-01-25 10:12:34 +01:00
parent 9e9c0c105b
commit b0957f177a
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,8 @@ spec:
metadata:
labels:
k8s-app: cluster-autoscaler
annotations:
scheduler.alpha.kubernetes.io/tolerations: '[{"key":"dedicated", "value":"master"}]'
spec:
containers:
- name: cluster-autoscaler
@ -40,3 +42,5 @@ spec:
- name: ssl-certs
hostPath:
path: {{SSL_CERT_PATH}}
nodeSelector:
kubernetes.io/role: master