zadig
zadig copied to clipboard
Add healthz API
Is your enhancement proposal related to a problem? Please describe.
Abnormalities may occur during the operation of the service, which needs to be detected and handled. Consider adding a healthz API to the Zadig services to provide queries on the health status of the component.
Describe the solution you'd like
We can consider using https://github.com/kubernetes/apiserver/tree/master/pkg/server/healthz in K8s to implement the healthz API.
Describe alternatives you've considered
None.
Additional context
For K8s-based systems, using methods similar to K8s will reduce learning costs.
This issue has been solved.
Hi, @tbbrave, currently only two services, user
and policy
, have added the healthz API, and other components have not been added. For the architecture diagram, see architecture .
For other components, are you interested in adding the healthz API? :D
Hi, @flyer103 ,I am interested, please assign this issue to me.
Thanks! Has assigned this issue to you @tbbrave 👍
https://github.com/koderover/zadig/pull/1165