Set default for -iness probe parameters and add docs (#1808)

This commit is contained in:
Christian Adams
2024-04-03 11:26:41 -07:00
committed by GitHub
parent a5211fe511
commit 7b02b5df04
2 changed files with 16 additions and 0 deletions

View File

@@ -2,6 +2,17 @@
These parameters control the usage of liveness and readiness container probes for These parameters control the usage of liveness and readiness container probes for
the web and task containers. the web and task containers.
> [!ALERT]
> All of probes are disabled by default for now, to enable it, set the *_period parameters. For example:
```
web_liveness_period: 15
web_readiness_period: 15
task_liveness_period: 15
task_readiness_period: 15
```
#### Web / Task Container Liveness Check #### Web / Task Container Liveness Check
The liveness probe queries the status of the supervisor daemon of the container. The probe will fail if it The liveness probe queries the status of the supervisor daemon of the container. The probe will fail if it

View File

@@ -296,6 +296,11 @@ replicas: 1
web_replicas: '' web_replicas: ''
task_replicas: '' task_replicas: ''
web_liveness_period: 0
web_readiness_period: 0
task_liveness_period: 0
task_readiness_period: 0
task_args: task_args:
- /usr/bin/launch_awx_task.sh - /usr/bin/launch_awx_task.sh
task_command: [] task_command: []