Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-3308

Add health check endpoint to Kudu webserver

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.16.0
    • server

    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.

      Attachments

        Activity

          People

            zchovan Zoltan Chovan
            bankim Bankim Bhavsar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: