-
Story
-
Resolution: Done-Errata
-
Normal
-
None
-
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.
- is related to
-
OSSM-6658 Operator sends many unnecessary API requests on startup
- Closed
- links to
-
RHSA-2024:135884 Red Hat OpenShift Service Mesh Containers for 2.6.0
- mentioned on