Skip to content

Commit 27d05f9

Browse files
committed
[zh-cn]sync pod-lifecycle slis
Signed-off-by: xin.li <[email protected]>
1 parent 9bb43c4 commit 27d05f9

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
title: Pod 的生命周期
33
content_type: concept
44
weight: 30
5+
math: true
56
---
67
<!--
78
title: Pod Lifecycle
89
content_type: concept
910
weight: 30
11+
math: true
1012
-->
1113

1214
<!-- overview -->
@@ -1049,15 +1051,17 @@ a time longer than the liveness interval would allow.
10491051
你不再需要配置一个较长的存活态探测时间间隔,只需要设置另一个独立的配置选定,
10501052
对启动期间的容器执行探测,从而允许使用远远超出存活态时间间隔所允许的时长。
10511053

1054+
<!-- ensure front matter contains math: true -->
1055+
10521056
<!--
10531057
If your container usually starts in more than
1054-
`initialDelaySeconds + failureThreshold × periodSeconds`, you should specify a
1058+
\\( initialDelaySeconds + failureThreshold \times periodSeconds \\), you should specify a
10551059
startup probe that checks the same endpoint as the liveness probe. The default for
10561060
`periodSeconds` is 10s. You should then set its `failureThreshold` high enough to
10571061
allow the container to start, without changing the default values of the liveness
10581062
probe. This helps to protect against deadlocks.
10591063
-->
1060-
如果你的容器启动时间通常超出 `initialDelaySeconds + failureThreshold × periodSeconds`
1064+
如果你的容器启动时间通常超出 \\( initialDelaySeconds + failureThreshold \times periodSeconds \\)
10611065
总值,你应该设置一个启动探测,对存活态探针所使用的同一端点执行检查。
10621066
`periodSeconds` 的默认值是 10 秒。你应该将其 `failureThreshold` 设置得足够高,
10631067
以便容器有充足的时间完成启动,并且避免更改存活态探针所使用的默认值。

content/zh-cn/docs/reference/instrumentation/slis.md

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: Kubernetes 组件 SLI 指标
33
linkTitle: 服务水平指示器指标
44
content_type: reference
55
weight: 20
6+
description: >-
7+
用于衡量 Kubernetes 组件可靠性和性能的高级指标。
68
---
79
<!--
810
reviewers:
@@ -11,6 +13,8 @@ title: Kubernetes Component SLI Metrics
1113
linkTitle: Service Level Indicator Metrics
1214
content_type: reference
1315
weight: 20
16+
description: >-
17+
High-level indicators for measuring the reliability and performance of Kubernetes components.
1418
-->
1519

1620
<!-- overview -->

0 commit comments

Comments
 (0)