Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-45265

Use the /livez/ping endpoint instead of /version

XMLWordPrintable

    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          Use the /livez/ping endpoint to proxy unauthenticated health checks on the master. /livez/ping is a faster and more reliable endpoint, so it should be used over /version.

      Version-Release number of selected component (if applicable):

          Impacts all releases, fix can be limited to 4.18

      How reproducible:

          Always

      Steps to Reproduce:

          1. https://github.com/openshift/hypershift/blob/6356dab0c28b77cca1a74d911f7154f70a3cb68d/hypershift-operator/controllers/nodepool/apiserver-haproxy/haproxy.cfg#L26
          2. https://github.com/openshift/hypershift/blob/6356dab0c28b77cca1a74d911f7154f70a3cb68d/hypershift-operator/controllers/nodepool/haproxy.go#L381     

      Actual results:

          /version

      Expected results:

          /livez/ping

      Additional info:

          

              jonesbry Bryan Jones
              jonesbry Bryan Jones
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: