diff --git a/content/zh/docs/concepts/workloads/pods/pod-lifecycle.md b/content/zh/docs/concepts/workloads/pods/pod-lifecycle.md index 14c02589f5..fc8a84e489 100644 --- a/content/zh/docs/concepts/workloads/pods/pod-lifecycle.md +++ b/content/zh/docs/concepts/workloads/pods/pod-lifecycle.md @@ -611,13 +611,13 @@ a time longer than the liveness interval would allow. If your container usually starts in more than `initialDelaySeconds + failureThreshold × periodSeconds`, you should specify a startup probe that checks the same endpoint as the liveness probe. The default for -`periodSeconds` is 30s. You should then set its `failureThreshold` high enough to +`periodSeconds` is 10s. You should then set its `failureThreshold` high enough to allow the container to start, without changing the default values of the liveness probe. This helps to protect against deadlocks. --> 如果你的容器启动时间通常超出 `initialDelaySeconds + failureThreshold × periodSeconds` 总值,你应该设置一个启动探测,对存活态探针所使用的同一端点执行检查。 -`periodSeconds` 的默认值是 30 秒。你应该将其 `failureThreshold` 设置得足够高, +`periodSeconds` 的默认值是 10 秒。你应该将其 `failureThreshold` 设置得足够高, 以便容器有充足的时间完成启动,并且避免更改存活态探针所使用的默认值。 这一设置有助于减少死锁状况的发生。