mirror of
https://github.com/containers/podman.git
synced 2025-05-17 15:18:43 +08:00
Fix: Ensure HealthCheck exec session terminates on timeout
Previously, the HealthCheck exec session would not terminate on timeout, allowing the healthcheck to run indefinitely. Fixes: https://issues.redhat.com/browse/RHEL-86096 Signed-off-by: Jan Rodák <hony.com@seznam.cz>
This commit is contained in:
@ -7,8 +7,7 @@
|
||||
The maximum time allowed to complete the healthcheck before an interval is considered failed. Like start-period, the
|
||||
value can be expressed in a time format such as **1m22s**. The default value is **30s**.
|
||||
|
||||
Note: A timeout marks the healthcheck as failed but does not terminate the running process.
|
||||
This ensures that a slow but eventually successful healthcheck does not disrupt the container
|
||||
but is still accounted for in the health status.
|
||||
Note: A timeout marks the healthcheck as failed. If the healthcheck command itself runs longer than the specified *timeout*,
|
||||
it will be sent a `SIGKILL` signal.
|
||||
|
||||
Note: This parameter will overwrite related healthcheck configuration from the image.
|
||||
|
Reference in New Issue
Block a user