Skip to content

Commit 0debd14

Browse files
authored
Merge pull request #41286 from sairameshv/exec_probe
Add a caution regarding the `exec` probe mechanism
2 parents 5f35271 + 0ef0ded commit 0debd14

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/en/docs/concepts/workloads/pods/pod-lifecycle.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,10 @@ Each probe must define exactly one of these four mechanisms:
316316
the port is open. If the remote system (the container) closes
317317
the connection immediately after it opens, this counts as healthy.
318318

319+
{{< caution >}} Unlike the other mechanisms, `exec` probe's implementation involves the creation/forking of multiple processes each time when executed.
320+
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.
321+
In such scenarios, consider using the alternative probe mechanisms to avoid the overhead.{{< /caution >}}
322+
319323
### Probe outcome
320324

321325
Each probe has one of three results:

0 commit comments

Comments
 (0)