frouioui / tagenal

Tagenal is a playground app using Vitess, Redis, Traefik and Jaeger on Kubernetes
https://frouioui.github.io/tagenal/
MIT License
7 stars 0 forks source link

Addition of liveness and readiness probes #51

Closed frouioui closed 3 years ago

frouioui commented 3 years ago

This PR contains the implementation of the liveness and readiness probes for the users-api, articles-api, frontend deployments.

The APIs' server packages contain a new method: SetReady. This method enables stating the readiness of the program once both http and grpc goroutines are launched. Thus, the readiness probe will fail until both goroutines are being run.

Additionally, this PR contains better rollout strategies for the aforementioned services.