-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Support health and liveness probes #297
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
Comments
we should have a general liveness hook. I'm not sure we want to make this a general HTTP serving platform, but liveness support would definitely be useful. /kind feature |
Agreed, having a standard way for serving a liveness hook would be nice. |
/good-first-issue |
@DirectXMan12: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hi, i would like to try to implement this. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/lifecycle frozen |
@DirectXMan12 has this been fully implemented in #419 or is there more to do? |
I think it's fully implemented |
I'm adding a liveness probe to a manager built with
controller-runtime
.The manager already leverages the HTTP service provided natively to serve Prometheus metrics.
I would like to add another endpoint
/live
to provide the liveness of the application, on the same HTTP server that is used for metrics.There does not seem to be a way to do this today because the http mux is created internally and attached to the HTTP server.
A way to circumvent this is to basically copy/paste the http server logic into a package of my own and add the extra handler but it feels sad that there is no way to reuse the existing code.
The text was updated successfully, but these errors were encountered: