Start adding grafana monitoring stack

This commit is contained in:
2024-08-05 18:59:25 +01:00
parent 954e5facc5
commit 657d5a477d
10 changed files with 164 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: promtail-release
spec:
chart:
spec:
chart: grafana/promtail
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: grafana-repo
version: 6.16.4
valuesFiles:
- values.yaml
interval: 1m0s
targetNamespace: monitoring
values:
config:
clients:
- url: http://loki.monitoring.svc.cluster.local/loki/api/v1/push
tenant_id: 1

View File

@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helmrelease.yaml