Description
For integrating with Kubernetes, it'd be good to add a webserver endpoint (/healthz) that exposes health of the kudu cluster.
We need something that's very lightweight that responds back quickly with simply HTTP status code. This endpoint is expected to be queried every 5-10 secs. If required, we can add a query parameter that'll return back more detailed information.
The idea is to use this with livenessProbe/readinessProbe/startupProbe in Kubernetes.
https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
As a workaround, currently we can use the base landing page /.
Alternatively we could think about introducing a lightweight ksck.