From f97f7ce172b3892da4a08f196207d75895c8c008 Mon Sep 17 00:00:00 2001 From: Jacopo Andrea Giola Date: Wed, 9 Oct 2024 16:02:59 +0200 Subject: [PATCH] fix: wrong port names for kube-state-metrics monitor --- charts/monitoring/Chart.yaml | 2 +- .../templates/default-monitors/kubestatemerics.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/monitoring/Chart.yaml b/charts/monitoring/Chart.yaml index f7d54a2..f20b70b 100644 --- a/charts/monitoring/Chart.yaml +++ b/charts/monitoring/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: monitoring -version: 2.2.3 +version: 2.2.4 kubeVersion: ">= 1.20.0-0" appVersion: v0.74.0 description: "A Kubernetes monitoring stack based on Prometheus Operator" diff --git a/charts/monitoring/templates/default-monitors/kubestatemerics.yaml b/charts/monitoring/templates/default-monitors/kubestatemerics.yaml index b1fc24a..58c45cf 100644 --- a/charts/monitoring/templates/default-monitors/kubestatemerics.yaml +++ b/charts/monitoring/templates/default-monitors/kubestatemerics.yaml @@ -14,7 +14,7 @@ spec: jobLabel: "app.kubernetes.io/name" podMetricsEndpoints: - path: /metrics - port: self-metrics + port: metrics honorLabels: true interval: 30s metricRelabelings: @@ -23,7 +23,7 @@ spec: sourceLabels: - __name__ - path: /metrics - port: k8s-metrics + port: web interval: 30s relabelings: - action: labeldrop