Skip to content

Commit 09084b0

Browse files
authored
Merge pull request #35579 from kinzhi/kinzhi195
[zh-cn] Sync configure-liveness-readiness-startup-probes.md
2 parents a96bea1 + 948b2d1 commit 09084b0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ kubectl describe pod liveness-exec
146146

147147
<!--
148148
At the bottom of the output, there are messages indicating that the liveness
149-
probes have failed, and the containers have been killed and recreated.
149+
probes have failed, and the failed containers have been killed and recreated.
150150
-->
151-
在输出结果的最下面,有信息显示存活探测器失败了,这个容器被杀死并且被重建了
151+
在输出结果的最下面,有信息显示存活探测器失败了,这个失败的容器被杀死并且被重建了
152152

153153
```
154154
FirstSeen LastSeen Count From SubobjectPath Type Reason Message
@@ -171,9 +171,9 @@ kubectl get pod liveness-exec
171171
```
172172

173173
<!--
174-
The output shows that `RESTARTS` has been incremented:
174+
The output shows that `RESTARTS` has been incremented. Note that the `RESTARTS` counter increments as soon as a failed container comes back to the running state:
175175
-->
176-
输出结果显示 `RESTARTS` 的值增加了 1。
176+
输出结果显示 `RESTARTS` 的值增加了 1。请注意,一旦失败的容器恢复为运行状态,`RESTARTS` 计数器就会增加 1:
177177

178178
```
179179
NAME READY STATUS RESTARTS AGE
@@ -816,11 +816,11 @@ those existing Pods.
816816
<!--
817817
When you (or the control plane, or some other component) create replacement
818818
Pods, and the feature gate `ProbeTerminationGracePeriod` is disabled, then the
819-
API server ignores the Pod-level `terminationGracePeriodSeconds` field, even if
819+
API server ignores the Probe-level `terminationGracePeriodSeconds` field, even if
820820
a Pod or pod template specifies it.
821821
-->
822822
当你(或控制平面或某些其他组件)创建替换 Pod,并且特性门控 `ProbeTerminationGracePeriod`
823-
被禁用时,API 服务器会忽略 Pod 级别的 `terminationGracePeriodSeconds` 字段设置,
823+
被禁用时,API 服务器会忽略探针级别的 `terminationGracePeriodSeconds` 字段设置,
824824
即使 Pod 或 Pod 模板指定了它。
825825

826826
例如:

0 commit comments

Comments
 (0)