File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
docs/tasks/configure-pod-container Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ can't it is considered a failure.
207
207
208
208
As you can see, configuration for a TCP check is quite similar to an HTTP check.
209
209
This example uses both readiness and liveness probes. The kubelet will send the
210
- first readiness probe 5 seconds after the container starts. This will attempt to
210
+ first readiness probe 15 seconds after the container starts. This will attempt to
211
211
connect to the ` goproxy ` container on port 8080. If the probe succeeds, the Pod
212
212
will be marked as ready. The kubelet will continue to run this check every 10
213
213
seconds.
@@ -393,8 +393,9 @@ liveness and readiness checks:
393
393
394
394
* `initialDelaySeconds`: Number of seconds after the container has started before startup,
395
395
liveness or readiness probes are initiated. If a startup probe is defined, liveness and
396
- readiness probe delays do not begin until the startup probe has succeeded.
397
- Defaults to 0 seconds. Minimum value is 0.
396
+ readiness probe delays do not begin until the startup probe has succeeded. If the value of
397
+ ` periodSeconds` is greater than `initialDelaySeconds` then the `initialDelaySeconds` would be
398
+ ignored. Defaults to 0 seconds. Minimum value is 0.
398
399
* `periodSeconds`: How often (in seconds) to perform the probe. Default to 10 seconds.
399
400
The minimum value is 1.
400
401
* `timeoutSeconds`: Number of seconds after which the probe times out.
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ spec:
13
13
readinessProbe :
14
14
tcpSocket :
15
15
port : 8080
16
- initialDelaySeconds : 5
16
+ initialDelaySeconds : 15
17
17
periodSeconds : 10
18
18
livenessProbe :
19
19
tcpSocket :
20
20
port : 8080
21
21
initialDelaySeconds : 15
22
- periodSeconds : 20
22
+ periodSeconds : 10
You can’t perform that action at this time.
0 commit comments