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

keda-metrics-apiserver ServiceMonitor in wrong endpoint

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Normal
    • None
    • 4.14
    • Pod Autoscaler
    • None
    • No
    • 3
    • PODAUTO - Sprint 252
    • 1
    • False
    • Hide

      None

      Show
      None
    • Hide
      Previously the ServiceMonitor for keda-metrics-apiserver was not functioning, as it was referencing an incorrect metrics port name of "http". This release corrects the ServiceMonitor port to reference the proper port name of "metrics", and now the ServiceMonitor functions properly.
      Show
      Previously the ServiceMonitor for keda-metrics-apiserver was not functioning, as it was referencing an incorrect metrics port name of "http". This release corrects the ServiceMonitor port to reference the proper port name of "metrics", and now the ServiceMonitor functions properly.
    • Bug Fix
    • In Progress

    Description

      Description of problem:

      keda-metrics-apiserver is configured with http endpoint, but the service exposes the endpoint with "metrics" name. Therefore, it is not enabled. 

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

      4.14

      How reproducible:

      Always    

      Steps to Reproduce:

          1. Install a 4.14, install the CMA, and then instance a default keda controller

      Actual results:

          ServiceMonitor keda-metrics-apiserver is not enabled

      Expected results:

          ServiceMonitor keda-metrics-apiserver enabled

      Additional info:

      oc get endpoints -n openshift-keda keda-metrics-apiserver -o yaml

      ...
      ports: 
        - name: metrics
          port: 8080
          protocol: TCP
        - name: https
          port: 6443
          protocol: TCP

      oc get servicemonitor -n openshift-keda keda-metrics-apiserver -o yaml

      ...
      spec: 
        endpoints: 
        - interval: 60s
          port: http

      Attachments

        Issue Links

          Activity

            People

              jkyros@redhat.com John Kyros
              rgordill1@redhat.com Ramon Gordillo Gutierrez
              Sunil Choudhary Sunil Choudhary
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: