ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
13.91k stars 3.4k forks source link

Add a feature for health checks (readiness and liveness) for Ansible Tower #7828

Open Saurabh-Thakre opened 4 years ago

Saurabh-Thakre commented 4 years ago
ISSUE TYPE
SUMMARY

Many applications running for long periods of time eventually transition to broken states, and cannot recover except by being restarted. Kubernetes provides liveness probes to detect and remedy such situations. [1]

Here the ask is to provide this to avoid manual operation task such as restart the containers/pods. The current tarball [2] only provides these probes for postgres and not for the other containers (redis, memcached, tower-web, tower-task).

[1] https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ [2] https://releases.ansible.com/ansible-tower/setup_openshift/ansible-tower-openshift-setup-3.7.1-1.tar.gz

wenottingham commented 4 years ago

A future operator may cover this, it's unlikely to be handled before that.

schen1 commented 4 years ago

Should it then be created for the awx-operator project?