Implement healthchecks #2
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Looked into it, the container is distroless so can't make an HTTP request for those health checks.
Which I really hate that docker-compose still doesn't support the k8s feature where an external process (kubelet) performs the health check.
The solution would either require a custom image (IMO, a bad solution, since you want minimal containers for security purposes) or for the binary itself to support something like
--healthcheckcommand, which pings the main process and exits 1 or 0.Damn, yeh, tricky. I would say raise it with the upstream developer, he's generally open to discuss this stuff.
I also just saw this wild approach: https://git.coopcloud.tech/coop-cloud/vikunja#healthcheck
As inspiration: https://github.com/mealie-recipes/mealie/blob/mealie-next/mealie/scripts/healthcheck.py