Skip to content

Commit

Permalink
Set default for -iness probe parameters and add docs (#1808)
Browse files Browse the repository at this point in the history
  • Loading branch information
rooftopcellist committed Apr 3, 2024
1 parent a5211fe commit 7b02b5d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/user-guide/advanced-configuration/container-probes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
These parameters control the usage of liveness and readiness container probes for
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

The liveness probe queries the status of the supervisor daemon of the container. The probe will fail if it
Expand Down
5 changes: 5 additions & 0 deletions roles/installer/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,11 @@ replicas: 1
web_replicas: ''
task_replicas: ''

web_liveness_period: 0
web_readiness_period: 0
task_liveness_period: 0
task_readiness_period: 0

task_args:
- /usr/bin/launch_awx_task.sh
task_command: []
Expand Down

0 comments on commit 7b02b5d

Please sign in to comment.