From f1c54567a70b7ce4d636ca644cb5ac81cdf1f0b0 Mon Sep 17 00:00:00 2001 From: Jon Date: Sun, 4 Feb 2024 15:06:16 +0930 Subject: [PATCH] feat(prometheus): configurable replicas !8 --- templates/Prometheus-prometheus.yaml | 2 +- values.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/Prometheus-prometheus.yaml b/templates/Prometheus-prometheus.yaml index ce80d2b..7378fe7 100644 --- a/templates/Prometheus-prometheus.yaml +++ b/templates/Prometheus-prometheus.yaml @@ -33,7 +33,7 @@ spec: podMonitorSelector: {} probeNamespaceSelector: {} probeSelector: {} - replicas: 3 + replicas: {{ $.Values.nfc_monitoring.prometheus.replicas }} resources: requests: memory: 400Mi diff --git a/values.yaml b/values.yaml index bdac68f..f8efa29 100644 --- a/values.yaml +++ b/values.yaml @@ -255,7 +255,9 @@ nfc_monitoring: image: name: prom/prometheus - tag: 'v2.47.0' + + # How many replicas to deploy + replicas: 1 ingress: annotations: