Add Prometheus Stack

This commit is contained in:
Daniel Cosme
2026-04-21 13:06:42 -04:00
parent 9b39878bbc
commit 3f4ae65251
13 changed files with 228 additions and 34 deletions
@@ -0,0 +1,9 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: monitoring
namespace: monitoring
spec:
interval: 24h0m0s
url: https://prometheus-community.github.io/helm-charts
status: {}
@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: monitoring
spec: {}
status: {}
@@ -0,0 +1,31 @@
apiVersion: helm.toolkit.fluxcd.io/v1
kind: HelmRelease
metadata:
name: monitoring
namespace: monitoring
spec:
chart:
spec:
chart: kube-prometheus-stack
interval: 12h0m0s
sourceRef:
kind: HelmRelease
name: monitoring
namespace: monitoring
version: 66.x
driftDetection:
ignore:
- paths:
- /metadata/annotations/prometheus-operator-validated
target:
kind: PrometheusRule
mode: enabled
install:
crds: Create
interval: 30m0s
upgrade:
crds: CreateReplace
values:
grafana:
adminPassword: grafana-admin
status: {}