Files
kubernetes/cluster/saltbase/salt/monit/kube-proxy
Robert Bailey bc8af553a3 Configure the kubelet to bind a simple healthz server to a localhost
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.
2015-03-30 14:20:30 -07:00

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