What should the URL be for Readiness and Liveness Probe Endpoints?
The Kubernetes docs use /healthz
, which I'd say is advisable to follow; but you really can use whatever you want.
I believe healthz
is used to keep it inline with zpages
, which are described by OpenCensus:
AFAIK, you can use whatever you want and it's whatever you put in your application. If you have a way in your application to differentiate between "Ready" and "Alive". Either one of these using a GET request works:
/ready/live
or
/status/ready/status/live
Note that generally 'alive' means that your app has come up and 'ready' means that your app is ready to serve traffic.