add prometheus component setup

This commit is contained in:
2021-04-06 02:14:32 +01:00
parent f6bfdeceb4
commit 25685bf019
3 changed files with 30 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: prometheus-system
@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: prometheus-community
namespace: prometheus-system
spec:
interval: 20m0s
url: https://prometheus-community.github.io/helm-charts
@@ -0,0 +1,16 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: prometheus-stack
namespace: prometheus-system
spec:
chart:
spec:
chart: prometheus-stack
sourceRef:
kind: HelmRepository
name: prometheus-community
interval: 20m0s