Skip to content

Commit

Permalink
[zh] sync workloads/pods/pod-lifecycle.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Fang, Wei committed Jun 7, 2023
1 parent 5dc51db commit f5e8965
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions content/zh-cn/docs/concepts/workloads/pods/pod-lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,18 @@ Each probe must define exactly one of these four mechanisms:
: 对容器的 IP 地址上的指定端口执行 TCP 检查。如果端口打开,则诊断被认为是成功的。
如果远程系统(容器)在打开连接后立即将其关闭,这算作是健康的。

<!--
{{< caution >}} Unlike the other mechanisms, `exec` probe's implementation involves the creation/forking of multiple processes each time when executed.
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.
In such scenarios, consider using the alternative probe mechanisms to avoid the overhead.{{< /caution >}}
-->
{{< caution >}}
和其他机制不同,`exec` 探针的实现涉及每次执行时创建/复制多个进程。
因此,在集群中具有较高 pod 密度、较低的 `initialDelaySeconds``periodSeconds` 间隔的时候,
配置任何使用 exec 机制的探针可能会增加节点的 CPU 负载。
这种场景下,请考虑使用其他探针机制以避免额外的开销。
{{< /caution >}}

<!--
### Probe outcome
Each probe has one of three results:
Expand Down

0 comments on commit f5e8965

Please sign in to comment.