Split "liveiness" and "readiness" to different route
elct9620 opened this issue · comments
The "health check" have different use cases, we have to split them into different routes.
/liveiness
means "application is running"/readiness
means "application is read and can serve"
The "liveiness" will be used for the container's health check to decide whether "should restart the container".
And the "readiness" will be used for the router/load balancer to decide whether the traffic can be routed to that service or not.