File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
content/zh/docs/concepts/workloads/pods Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -611,13 +611,13 @@ a time longer than the liveness interval would allow.
611
611
If your container usually starts in more than
612
612
`initialDelaySeconds + failureThreshold × periodSeconds`, you should specify a
613
613
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
615
615
allow the container to start, without changing the default values of the liveness
616
616
probe. This helps to protect against deadlocks.
617
617
-->
618
618
如果你的容器启动时间通常超出 ` initialDelaySeconds + failureThreshold × periodSeconds `
619
619
总值,你应该设置一个启动探测,对存活态探针所使用的同一端点执行检查。
620
- ` periodSeconds ` 的默认值是 30 秒。你应该将其 ` failureThreshold ` 设置得足够高,
620
+ ` periodSeconds ` 的默认值是 10 秒。你应该将其 ` failureThreshold ` 设置得足够高,
621
621
以便容器有充足的时间完成启动,并且避免更改存活态探针所使用的默认值。
622
622
这一设置有助于减少死锁状况的发生。
623
623
You can’t perform that action at this time.
0 commit comments