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:
Avesh Agarwal 2015-08-28 22:03:33 -04:00
parent 45ca956f00
commit a64d8d4f7b

View File

@ -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
}, },