Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-6774

Ensure that metrics don't require a separate kube & discovery client

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • OSSM 2.6.0
    • None
    • Maistra
    • None

      The addMetrics() function instantiates its own kube client and discovery client to create the metrics Service and the ServiceMonitor object instead of using the same client that's used by the operator's controllers. This causes unnecessary API discovery calls at operator startup (100+ API requests).

      The code should re-use the existing kube client and discovery client.

              mluksa@redhat.com Marko Luksa
              mluksa@redhat.com Marko Luksa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: