-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add support for docker healthcheck
to grafana/mimir
image
#9034
Comments
healthcheck
healthcheck
to grafana/mimir
image
There is a related discussion about publishing a "debug" version of the image, which will ship with a shell in #3202. So far, there aren't much of strong arguments for doing it. If your use case requires running Mimir under an orchestrator that requires running a health check from inside the container, consider using the |
I don't see what this has to do with regular healthcheck.
This is how docker works. How can it be done differently? Not in kubernetes.
Line 207 in 970fe27
Without health checks?
The alternative is to implement an internal command to check the health of the service. As noted in the issue. |
Hello. Our only supported target for deployment is Kubernetes. We have deliberately made default Mimir images to be based on distroless with as few additional dependencies as possible, to reduce attack surface and number of CVEs reported for unrelated components (eg. OpenSSL). We do not plan to add more dependencies into If it is required for your use case to include more tools, it should easy enough to build a custom Mimir image. As @narqo said above, for now we still publish grafana/mimir-alpine images, that you can use as a base image, although we plan to eventually deprecate those. |
Is your feature request related to a problem? Please describe.
Enable the healthcheck for the docker container.
Describe the solution you'd like
Add
wget
to the docker image via busybox.Like loki does:
Describe alternatives you've considered
Use internal commands to check the health of the service.
Like,
traefik
, redis, postgres,minio
and others do:or this way.
Additional context
ref: grafana/loki#11590 grafana/loki#11711
The text was updated successfully, but these errors were encountered: