scratch.md: More consistent/explicit livenessProbes

This commit is contained in:
George G
2016-07-21 18:42:46 +01:00
parent 3195bc7db9
commit c6ad7e587f
+10 -6
View File
@@ -553,8 +553,10 @@ For each of these components, the steps to start them running are similar:
], ],
"livenessProbe": { "livenessProbe": {
"httpGet": { "httpGet": {
"path": "/healthz", "scheme": "HTTP",
"port": 8080 "host": "127.0.0.1",
"port": 8080,
"path": "/healthz"
}, },
"initialDelaySeconds": 15, "initialDelaySeconds": 15,
"timeoutSeconds": 15 "timeoutSeconds": 15
@@ -662,9 +664,10 @@ Complete this template for the scheduler pod:
], ],
"livenessProbe": { "livenessProbe": {
"httpGet": { "httpGet": {
"scheme": "HTTP",
"host": "127.0.0.1", "host": "127.0.0.1",
"path": "/healthz", "port": 10251,
"port": 10251 "path": "/healthz"
}, },
"initialDelaySeconds": 15, "initialDelaySeconds": 15,
"timeoutSeconds": 15 "timeoutSeconds": 15
@@ -717,9 +720,10 @@ Template for controller manager pod:
], ],
"livenessProbe": { "livenessProbe": {
"httpGet": { "httpGet": {
"scheme": "HTTP",
"host": "127.0.0.1", "host": "127.0.0.1",
"path": "/healthz", "port": 10252,
"port": 10252 "path": "/healthz"
}, },
"initialDelaySeconds": 15, "initialDelaySeconds": 15,
"timeoutSeconds": 15 "timeoutSeconds": 15