grafana
This commit is contained in:
40
infrastructure/loki/loki-stack-app.yaml
Normal file
40
infrastructure/loki/loki-stack-app.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: loki-stack
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://grafana.github.io/helm-charts
|
||||
targetRevision: 2.10.3
|
||||
chart: loki-stack
|
||||
helm:
|
||||
values: |
|
||||
# Eigenes Grafana nicht noetig, wir haben schon eins ueber kube-prometheus-stack
|
||||
grafana:
|
||||
enabled: false
|
||||
|
||||
promtail:
|
||||
enabled: true
|
||||
|
||||
loki:
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 10Gi
|
||||
config:
|
||||
table_manager:
|
||||
retention_deletes_enabled: true
|
||||
retention_period: 168h
|
||||
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: monitoring
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
- SkipDryRunOnMissingResource=true
|
||||
Reference in New Issue
Block a user