Conversation
|
there was a previous PR for this. |
|
Thanks, I just read the old conversation. I would argue that it is not necessarily the job of So, as I understand, this change might break setups configured to automatically restart unhealthy containers. Maybe we can come up with another solution, like adding something to the docs that explains the endpoint and how to use it with plain Docker or Docker Compose for monitoring. Modifying the endpoint to just return an "unhealthy" if the detected issue is solvable via a restart seems quite unrealistic to me. |
|
If you believe it helps your case and you can handle the potential bugs by yourself, you can use the official image as base image and build your own image with that health check But for most end users, it can't be done like this. |
|
Add comments for "api/healthz" endpoint #36481 |
add healthcheck to dockerfiles, fixes #36403