From 768541a7f535121a48bb7d51065a558f92acc66b Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Fri, 24 May 2024 22:33:36 -0400 Subject: [PATCH] Add prometheus --- .../prometheous-operator-helmrelease.yaml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 prometheus/prometheous-operator-helmrelease.yaml diff --git a/prometheus/prometheous-operator-helmrelease.yaml b/prometheus/prometheous-operator-helmrelease.yaml new file mode 100644 index 0000000..c4aadc8 --- /dev/null +++ b/prometheus/prometheous-operator-helmrelease.yaml @@ -0,0 +1,22 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: kube-prometheus-stack + namespace: monitoring +spec: + interval: 1m + chart: + spec: + chart: kube-prometheus-stack + version: "" # Specify the version you want to deploy + sourceRef: + kind: HelmRepository + name: prometheus-community + namespace: flux-system + values: + prometheus: + prometheusSpec: + retention: 10d # Example of customizing retention period + alertmanager: + alertmanagerSpec: + retention: 10d