mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-15 20:37:39 +00:00
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.
This commit is contained in:
@@ -3,7 +3,9 @@ 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 port 10249
|
||||
protocol HTTP request "/healthz"
|
||||
with timeout 10 seconds
|
||||
then restart
|
||||
if failed
|
||||
host 127.0.0.1
|
||||
port 10249
|
||||
protocol HTTP
|
||||
request "/healthz"
|
||||
then restart
|
||||
|
||||
Reference in New Issue
Block a user