Replies: 2 comments 5 replies
-
|
https://kubernetes.io/docs/reference/using-api/health-checks/ ^ these have been a community ask for a while. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Ok, so perhaps incorporate sigs.k8s.io/controller-runtime/pkg/healthz and github.com/shirou/gopsutil/v4 to set up monitoring. Should it be implemented as an extension? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I got bitten by a issue during OAuth login the other day, and actually spent quite some time before I was able to sort out the issue; the underlying PVC had reached capacity and the database writes for the OAuth callback failed / timed out.
This got me thinking of the (somewhat) clunky probes setup in the Helm chart as well -- if you have only OAuth and Apikey enabled, you're setting yourself up for a Catch-22 since the probes will always fail, meaning you can never log in and create a new ApiKey, even if you try to use the REST API to create one.
So: I was thinking of a more elaborate probe endpoint, something along the concepts of the Spring Actuator, where you have a separate endpoint with the possibility to report more detailed health status. In addition the UI could report storage consumption as well.
What I had in mind was:
/health/liveness,/health/readiness, and/health/startup(or the two first ones collapsed into/health)What do you think?
Beta Was this translation helpful? Give feedback.
All reactions