Bankim Bhavsar created KUDU-3308:
------------------------------------

             Summary: Add health check endpoint to Kudu webserver
                 Key: KUDU-3308
                 URL: https://issues.apache.org/jira/browse/KUDU-3308
             Project: Kudu
          Issue Type: Improvement
          Components: server
            Reporter: Bankim Bhavsar


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 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 /.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to