kube-addon-update.sh

This commit is contained in:
Marek Biskup
2015-06-02 11:41:13 +02:00
parent 51ffa203e3
commit 13ba177668
13 changed files with 557 additions and 32 deletions

View File

@@ -30,6 +30,14 @@ monit:
- mode: 644
{% endif %}
/etc/monit/conf.d/kube-addons:
file:
- managed
- source: salt://monit/kube-addons
- user: root
- group: root
- mode: 644
/etc/monit/monit_watcher.sh:
file.managed:
- source: salt://monit/monit_watcher.sh

View File

@@ -0,0 +1,5 @@
check process kube-addons with pidfile /var/run/kube-addons.pid
group kube-addons
start program = "/etc/init.d/kube-addons start"
stop program = "/etc/init.d/kube-addons stop"
if does not exist then restart