Skip to content

Commit c6ad7e5

Browse files
committed
scratch.md: More consistent/explicit livenessProbes
1 parent 3195bc7 commit c6ad7e5

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

docs/getting-started-guides/scratch.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,10 @@ For each of these components, the steps to start them running are similar:
553553
],
554554
"livenessProbe": {
555555
"httpGet": {
556-
"path": "/healthz",
557-
"port": 8080
556+
"scheme": "HTTP",
557+
"host": "127.0.0.1",
558+
"port": 8080,
559+
"path": "/healthz"
558560
},
559561
"initialDelaySeconds": 15,
560562
"timeoutSeconds": 15
@@ -662,9 +664,10 @@ Complete this template for the scheduler pod:
662664
],
663665
"livenessProbe": {
664666
"httpGet": {
667+
"scheme": "HTTP",
665668
"host": "127.0.0.1",
666-
"path": "/healthz",
667-
"port": 10251
669+
"port": 10251,
670+
"path": "/healthz"
668671
},
669672
"initialDelaySeconds": 15,
670673
"timeoutSeconds": 15
@@ -717,9 +720,10 @@ Template for controller manager pod:
717720
],
718721
"livenessProbe": {
719722
"httpGet": {
723+
"scheme": "HTTP",
720724
"host": "127.0.0.1",
721-
"path": "/healthz",
722-
"port": 10252
725+
"port": 10252,
726+
"path": "/healthz"
723727
},
724728
"initialDelaySeconds": 15,
725729
"timeoutSeconds": 15

0 commit comments

Comments
 (0)