-
-
Notifications
You must be signed in to change notification settings - Fork 56
Probes Configuration
Berger Eugene edited this page Jul 16, 2022
·
3 revisions
Probes have a number of fields that you can use to control the behavior of liveness and readiness checks more precisely:
-
initial_delay_seconds
: Number of seconds after the container has started before liveness or readiness probes are initiated. Defaults to 0 seconds. The minimum value is 0. -
period_seconds
: How often (in seconds) to perform the probe. Defaults to 10 seconds. The minimum value is 1. -
timeout_seconds
: Number of seconds after which the probe times out. Defaults to 1 second. The minimum value is 1. -
success_threshold
: Minimum consecutive successes for the probe to be considered successful after failing. Defaults to 1. Must be 1 for liveness and startup Probes. The minimum value is 1. Note: this value is not respected and was added as a placeholder for future implementation. -
failure_threshold
: When a probe fails, Process Compose will tryfailure_threshold
times before giving up. Giving up in case of liveness probe means restarting the process. In case of readiness probe, the Pod will be marked Unready. Defaults to 3. The minimum value is 1.