From b8daf370548922557d7dbe26ef5fb1fb3b1e61c5 Mon Sep 17 00:00:00 2001 From: Gianluca Mardente Date: Thu, 30 Jul 2026 15:56:23 +0200 Subject: [PATCH] Fix classifier metrics Service targetPort preventing Prometheus scraping --- config/rbac/auth_proxy_service.yaml | 2 +- manifest/manifest.yaml | 2 +- manifest/service_monitor.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/rbac/auth_proxy_service.yaml b/config/rbac/auth_proxy_service.yaml index fe6d1c1..f589c10 100644 --- a/config/rbac/auth_proxy_service.yaml +++ b/config/rbac/auth_proxy_service.yaml @@ -10,6 +10,6 @@ spec: - name: https port: 8443 protocol: TCP - targetPort: https + targetPort: 8443 selector: control-plane: classifier diff --git a/manifest/manifest.yaml b/manifest/manifest.yaml index ca4e00f..3ff1f4b 100644 --- a/manifest/manifest.yaml +++ b/manifest/manifest.yaml @@ -219,7 +219,7 @@ spec: - name: https port: 8443 protocol: TCP - targetPort: https + targetPort: 8443 selector: control-plane: classifier --- diff --git a/manifest/service_monitor.yaml b/manifest/service_monitor.yaml index e39281b..1c94823 100644 --- a/manifest/service_monitor.yaml +++ b/manifest/service_monitor.yaml @@ -9,7 +9,7 @@ spec: endpoints: - bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token path: /metrics - port: https + port: metrics scheme: https tlsConfig: insecureSkipVerify: true