exclude etcd from the liveness health check for the kube-apiserver on GCE

This commit is contained in:
Han Kang 2018-11-13 14:48:56 -08:00
parent f1f1bc83fd
commit 895dd4187b

View File

@ -34,11 +34,19 @@
"httpGet": { "httpGet": {
"host": "127.0.0.1", "host": "127.0.0.1",
"port": 8080, "port": 8080,
"path": "/healthz" "path": "/healthz?exclude=etcd"
}, },
"initialDelaySeconds": {{liveness_probe_initial_delay}}, "initialDelaySeconds": {{liveness_probe_initial_delay}},
"timeoutSeconds": 15 "timeoutSeconds": 15
}, },
"readinessProbe": {
"httpGet": {
"host": "127.0.0.1",
"port": 8080,
"path": "/healthz"
},
"timeoutSeconds": 15
},
"ports":[ "ports":[
{ "name": "https", { "name": "https",
"containerPort": {{secure_port}}, "containerPort": {{secure_port}},