mirror of
https://github.com/morten-olsen/homelab-apps.git
synced 2026-02-08 01:36:28 +01:00
disable grafana
This commit is contained in:
37
foundation/charts/monitor/templates/_loki.yaml
Normal file
37
foundation/charts/monitor/templates/_loki.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: loki-stack
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: foundation
|
||||
source:
|
||||
repoURL: https://grafana.github.io/helm-charts
|
||||
targetRevision: 2.10.3
|
||||
chart: loki-stack
|
||||
helm:
|
||||
releaseName: loki-stack
|
||||
values: |
|
||||
loki:
|
||||
serviceMonitor: # Enable Prometheus to scrape Loki's metrics
|
||||
enabled: true
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClassName: "{{ .Values.globals.storageClass }}" # Replace with your StorageClass
|
||||
size: 50Gi # Adjust as needed
|
||||
|
||||
promtail:
|
||||
serviceMonitor: # Enable Prometheus to scrape Promtail's metrics
|
||||
enabled: true
|
||||
podLogs:
|
||||
enabled: true # Scrape all pod log
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: foundation
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
Reference in New Issue
Block a user