From b7cad3d8b25eddf26521bb3e310ac9b0958d608b Mon Sep 17 00:00:00 2001 From: John Kyros Date: Wed, 6 Mar 2024 19:49:12 -0600 Subject: [PATCH] Fix keda-metrics-apiserver port In our 2.11.2 release we retired the old 9022 metrics port, which was superseded by port 8080. We updated the service with the port name "metrics", but it looks like we missed updating the ServiceMonitor, which still had it listed as "http" -- resulting in the prometheus target not working. This updates the ServiceMonitor so the port name matches the service, and the tubes are properly connected and "metrics" will be a valid prometheus target for keda-metrics-apiserver. Signed-off-by: John Kyros --- resources/keda-olm-operator.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/keda-olm-operator.yaml b/resources/keda-olm-operator.yaml index 2a6b5ce8c..7a3d92d23 100644 --- a/resources/keda-olm-operator.yaml +++ b/resources/keda-olm-operator.yaml @@ -39,7 +39,7 @@ spec: matchLabels: app.kubernetes.io/name: keda-metrics-apiserver endpoints: - - port: http + - port: metrics interval: 60s namespaceSelector: any: false