standardize container health checks into scripts for all docker containers #491
Labels
cloud
Relating to deployment of Malcolm in the cloud and/or with Kubernetes
docker
Relating to docker and docker-compose as used by Malcolm
enhancement
New feature or request
Milestone
The
docker-compose.yml
and Kubernetes health checks do various things to gauge container health, but I would like to standardize how this is done.I'd like every container to have a
container_health.sh
script installed to/usr/local/bin
. This script should exit with an exit code of0
if things are healthy/up/ready and non-zero if they are not.In addition to creating the scripts, replacing the health checks in the compose file and Kubernetes manifests to call the scripts should be done.
The zeek container already has one of these you could use as reference. Also, the
ready
function in the API would be a good example of things to check.The text was updated successfully, but these errors were encountered: