Ask monit health check kubelet; if failed, restart.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user