
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.
12 lines
292 B
Plaintext
12 lines
292 B
Plaintext
check process kube-proxy with pidfile /var/run/kube-proxy.pid
|
|
group kube-proxy
|
|
start program = "/etc/init.d/kube-proxy start"
|
|
stop program = "/etc/init.d/kube-proxy stop"
|
|
if does not exist then restart
|
|
if failed
|
|
host 127.0.0.1
|
|
port 10249
|
|
protocol HTTP
|
|
request "/healthz"
|
|
then restart
|