Skip to content

Commit fb73c84

Browse files
authored
Merge pull request #26067 from Arhell/upd
[zh] update pod-lifecycle.md
2 parents 0221ce5 + ce6a73d commit fb73c84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/zh/docs/concepts/workloads/pods/pod-lifecycle.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,13 +611,13 @@ a time longer than the liveness interval would allow.
611611
If your container usually starts in more than
612612
`initialDelaySeconds + failureThreshold × periodSeconds`, you should specify a
613613
startup probe that checks the same endpoint as the liveness probe. The default for
614-
`periodSeconds` is 30s. You should then set its `failureThreshold` high enough to
614+
`periodSeconds` is 10s. You should then set its `failureThreshold` high enough to
615615
allow the container to start, without changing the default values of the liveness
616616
probe. This helps to protect against deadlocks.
617617
-->
618618
如果你的容器启动时间通常超出 `initialDelaySeconds + failureThreshold × periodSeconds`
619619
总值,你应该设置一个启动探测,对存活态探针所使用的同一端点执行检查。
620-
`periodSeconds` 的默认值是 30 秒。你应该将其 `failureThreshold` 设置得足够高,
620+
`periodSeconds` 的默认值是 10 秒。你应该将其 `failureThreshold` 设置得足够高,
621621
以便容器有充足的时间完成启动,并且避免更改存活态探针所使用的默认值。
622622
这一设置有助于减少死锁状况的发生。
623623

0 commit comments

Comments
 (0)