Skip to content

Commit 39d18c0

Browse files
authored
Merge pull request #41517 from KKtheGhost/sync/pods_pod-lifecycle
[zh] sync workloads/pods/pod-lifecycle.md
2 parents 780c831 + 948959f commit 39d18c0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,18 @@ Each probe must define exactly one of these four mechanisms:
600600
: 对容器的 IP 地址上的指定端口执行 TCP 检查。如果端口打开,则诊断被认为是成功的。
601601
如果远程系统(容器)在打开连接后立即将其关闭,这算作是健康的。
602602

603+
<!--
604+
{{< caution >}} Unlike the other mechanisms, `exec` probe's implementation involves the creation/forking of multiple processes each time when executed.
605+
As a result, in case of the clusters having higher pod densities, lower intervals of `initialDelaySeconds`, `periodSeconds`, configuring any probe with exec mechanism might introduce an overhead on the cpu usage of the node.
606+
In such scenarios, consider using the alternative probe mechanisms to avoid the overhead.{{< /caution >}}
607+
-->
608+
{{< caution >}}
609+
和其他机制不同,`exec` 探针的实现涉及每次执行时创建/复制多个进程。
610+
因此,在集群中具有较高 pod 密度、较低的 `initialDelaySeconds``periodSeconds` 时长的时候,
611+
配置任何使用 exec 机制的探针可能会增加节点的 CPU 负载。
612+
这种场景下,请考虑使用其他探针机制以避免额外的开销。
613+
{{< /caution >}}
614+
603615
<!--
604616
### Probe outcome
605617
Each probe has one of three results:

0 commit comments

Comments
 (0)