8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
25 lines
782 B
Text
25 lines
782 B
Text
# Copy autoscaler manifest to manifests folder for master.
|
|
# The ordering of salt states for service docker, kubelet and
|
|
# master-addon below is very important to avoid the race between
|
|
# salt restart docker or kubelet and kubelet start master components.
|
|
# Please see http://issue.k8s.io/10122#issuecomment-114566063
|
|
# for detail explanation on this very issue.
|
|
|
|
/etc/kubernetes/manifests/cluster-autoscaler.manifest:
|
|
file.managed:
|
|
- source: salt://cluster-autoscaler/cluster-autoscaler.manifest
|
|
- template: jinja
|
|
- user: root
|
|
- group: root
|
|
- mode: 644
|
|
- makedirs: true
|
|
- dir_mode: 755
|
|
- require:
|
|
- service: docker
|
|
- service: kubelet
|
|
|
|
/var/log/cluster-autoscaler.log:
|
|
file.managed:
|
|
- user: root
|
|
- group: root
|
|
- mode: 644
|