
port for monitoring by monit. This is in preparation for the standard kubelet port to switch to SSL only (and eventually to only accepting connections on the SSL port that present a proper client SSL cert). Also standardize the formatting of the monit config files a bit.
10 lines
274 B
Plaintext
10 lines
274 B
Plaintext
check process docker with pidfile /var/run/docker.pid
|
|
group docker
|
|
start program = "/etc/init.d/docker start"
|
|
stop program = "/etc/init.d/docker stop"
|
|
if does not exist then restart
|
|
if failed
|
|
unixsocket /var/run/docker.sock
|
|
protocol HTTP request "/version"
|
|
then restart
|