Add prometheus
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler Perkins 2024-05-24 22:33:36 -04:00
parent ed7c339e61
commit 768541a7f5
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8

View File

@ -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: "<chart-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