From 14d4fe1dd679039f816becc7cb11246c60157c22 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sun, 9 Jun 2024 16:55:25 +0100 Subject: Enable scraping of Prometheus pods --- kubernetes/namespaces/monitoring/prometheus/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kubernetes/namespaces/monitoring') diff --git a/kubernetes/namespaces/monitoring/prometheus/deployment.yaml b/kubernetes/namespaces/monitoring/prometheus/deployment.yaml index 2dd1e2d..63176d4 100644 --- a/kubernetes/namespaces/monitoring/prometheus/deployment.yaml +++ b/kubernetes/namespaces/monitoring/prometheus/deployment.yaml @@ -13,6 +13,9 @@ spec: metadata: labels: app: prometheus + annotations: + prometheus.io/scrape: "true" + prometheus.io/port: prometheus spec: serviceAccountName: prometheus containers: -- cgit v1.2.3