From ee0a2baa0f065eccd3480933cb7b4e4a07bbc805 Mon Sep 17 00:00:00 2001 From: Shahab Dogar Date: Wed, 28 Aug 2024 17:05:48 +0500 Subject: [PATCH] feat: PiHole | enable prometheus metric scraping --- helm/values/pihole.values.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/helm/values/pihole.values.yaml b/helm/values/pihole.values.yaml index b3775e6..b2f793d 100644 --- a/helm/values/pihole.values.yaml +++ b/helm/values/pihole.values.yaml @@ -30,3 +30,17 @@ serviceDns: metallb.universe.tf/allow-shared-ip: pihole-svc type: LoadBalancer replicaCount: 1 +podAnnotations: + prometheus.io/scrape: "true" + prometheus.io/port: "9617" +monitoring: + sidecar: + enabled: true + port: 9617 + image: + repository: ekofr/pihole-exporter + tag: v0.3.0 + pullPolicy: IfNotPresent + resources: + limits: + memory: 128Mi