mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
Updates scratch.md to send httpGet livenessprobe to 127.0.0.1 for
controller-manager and scheduler as they both listen on 127.0.0.1 by default. This fixes #12740.
This commit is contained in:
parent
45ca956f00
commit
a64d8d4f7b
@ -710,6 +710,7 @@ Complete this template for the scheduler pod:
|
|||||||
],
|
],
|
||||||
"livenessProbe": {
|
"livenessProbe": {
|
||||||
"httpGet": {
|
"httpGet": {
|
||||||
|
"host" : "127.0.0.1",
|
||||||
"path": "/healthz",
|
"path": "/healthz",
|
||||||
"port": 10251
|
"port": 10251
|
||||||
},
|
},
|
||||||
@ -766,6 +767,7 @@ Template for controller manager pod:
|
|||||||
],
|
],
|
||||||
"livenessProbe": {
|
"livenessProbe": {
|
||||||
"httpGet": {
|
"httpGet": {
|
||||||
|
"host": "127.0.0.1",
|
||||||
"path": "/healthz",
|
"path": "/healthz",
|
||||||
"port": 10252
|
"port": 10252
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user