You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both Kubernetes readiness and liveness probes use the /health endpoints.
It is a good practice on a Kubernetes environment to distinguish between the liveness probe (which define if the application if alive and restart it if not) and the readiness probe (which define if an application is ready to accept requests and put it in the endpoints list of a service).
So we may change the liveness probe tu use /health/live and the readiness probe to use /health/ready.
Feature description
Both Kubernetes readiness and liveness probes use the
/health
endpoints.It is a good practice on a Kubernetes environment to distinguish between the liveness probe (which define if the application if alive and restart it if not) and the readiness probe (which define if an application is ready to accept requests and put it in the endpoints list of a service).
So we may change the liveness probe tu use
/health/live
and the readiness probe to use/health/ready
.See https://micronaut-projects.github.io/micronaut-docs-mn2/2.1.4/guide/#healthEndpoint
The text was updated successfully, but these errors were encountered: