Ask monit health check kubelet; if failed, restart.

This commit is contained in:
Dawn Chen
2015-03-05 17:09:04 -08:00
parent 43b4f41202
commit 7a47ea8913
2 changed files with 9 additions and 8 deletions

View File

@@ -3,4 +3,7 @@ group kubelet
start program = "/etc/init.d/kubelet start"
stop program = "/etc/init.d/kubelet stop"
if does not exist then restart
if failed port 10250
protocol HTTP request "/healthz"
with timeout 10 seconds
then restart