-
Notifications
You must be signed in to change notification settings - Fork 37
Add kubernetes readiness check uri #210
Comments
|
For 1, great call out, I'm checking in the other issue to see which issue should create the readiness check and which issue should create the health check so we don't have duplicate issues. |
@vinny-sabatini by "get the |
Yes, a |
Does it make sense to follow the z-pages pattern for this endpoint @vinny-sabatini @seanmalloy? If so endpoint should be |
Additionally, this could check the connectivity to the scm but that may get complicated quickly and could be its own issue. |
I good with |
Is your feature request related to a problem? Please describe.
In a Kubernetes deployment, it is recommended to include a readiness check for your application to let Kubernetes know when your pods are ready to accept traffic. A readiness endpoint should be created for the Eunomia operator, and it should be included in the Eunomia deployment.
Describe the solution you'd like
A
/readiness
endpoint is created that returns200
when the operator is able to access the Kubernetes API. This should be included in the deployment of Eunomia.Describe alternatives you've considered
It may be possible to add this into the operator-sdk itself. It looks like there is an issue that may include a Liveness and Readiness probe.
I'm not exactly sure how it would work if it were included in the operator-sdk in the case that an end user wants to have a different check/include additional checks. I would assume it would need to be extendable/configurable for the different operator use cases.
What version of eunomia are you using?
eunomia version: v0.0.5
Additional context
The text was updated successfully, but these errors were encountered: