mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +00:00
exclude etcd from the liveness health check for the kube-apiserver on GCE
This commit is contained in:
parent
f1f1bc83fd
commit
895dd4187b
@ -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}},
|
||||||
|
Loading…
Reference in New Issue
Block a user