diff --git a/clusters/home-cluster/monitoring/prometheus.yaml b/clusters/home-cluster/monitoring/prometheus.yaml new file mode 100644 index 0000000..08308fd --- /dev/null +++ b/clusters/home-cluster/monitoring/prometheus.yaml @@ -0,0 +1,27 @@ +apiVersion: source.toolkit.fluxcd.io/v1 +kind: HelmRepository +metadata: + name: prometheus + namespace: flux-system +spec: + interval: 1m + url: https://prometheus-community.github.io/helm-charts +--- +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: prom-operator + namespace: monitoring +spec: + interval: 10m + install: + createNamespace: true + chart: + spec: + chart: kube-prometheus-stack + version: '60.0.1' + sourceRef: + kind: HelmRepository + name: prometheus + namespace: flux-system + interval: 1m