Skip to content

Commit

Permalink
Add restart to the kube apiserver.
Browse files Browse the repository at this point in the history
  • Loading branch information
brendandburns committed Feb 10, 2015
1 parent e27d534 commit c50e650
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cluster/saltbase/salt/monit/kube-apiserver
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
check process kube-apiserver with pidfile /var/run/kube-apiserver.pid
group kube-apiserver
start program = "/etc/init.d/kube-apiserver start"
stop program = "/etc/init.d/kube-apiserver stop"
if failed
host 127.0.0.1
port 8080
protocol http
request "/index.html"
then restart

0 comments on commit c50e650

Please sign in to comment.