Add HelmRelease and HelmRepository configurations for Prometheus

This commit is contained in:
2025-07-11 12:15:03 +05:30
parent 2547f92f40
commit 23bd332bd6
2 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: prometheus
namespace: monitoring
spec:
interval: 24h
chart:
spec:
chart: prometheus
version: "27.23.0"
sourceRef:
kind: HelmRepository
name: prometheus-community
namespace: flux-system
interval: 24h
install:
remediation:
retries: 3
upgrade:
remediation:
retries: 3
values:
service:
enabled: true
type: LoadBalancer
servicePort: 9090