Skip to content

Commit a121748

Browse files
authored
Sync tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md
1 parent 32cf18e commit a121748

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ seconds. Minimum value is 1.
497497
to 1 second. Minimum value is 1.
498498
* `successThreshold`: Minimum consecutive successes for the probe to be
499499
considered successful after having failed. Defaults to 1. Must be 1 for
500-
liveness. Minimum value is 1.
500+
liveness and startup Probes. Minimum value is 1.
501501
* `failureThreshold`: When a probe fails, Kubernetes will
502502
try `failureThreshold` times before giving up. Giving up in case of liveness probe means restarting the container. In case of readiness probe the Pod will be marked Unready.
503503
Defaults to 3. Minimum value is 1.
@@ -506,7 +506,7 @@ Defaults to 3. Minimum value is 1.
506506
* `periodSeconds`:执行探测的时间间隔(单位是秒)。默认是 10 秒。最小值是 1。
507507
* `timeoutSeconds`:探测的超时后等待多少秒。默认值是 1 秒。最小值是 1。
508508
* `successThreshold`:探测器在失败后,被视为成功的最小连续成功数。默认值是 1。
509-
存活探测的这个值必须是 1。最小值是 1。
509+
存活和启动探测的这个值必须是 1。最小值是 1。
510510
* `failureThreshold`:当探测失败时,Kubernetes 的重试次数。
511511
存活探测情况下的放弃就意味着重新启动容器。
512512
就绪探测情况下的放弃 Pod 会被打上未就绪的标签。默认值是 3。最小值是 1。

0 commit comments

Comments
 (0)