mirror of
https://github.com/morten-olsen/homelab-apps.git
synced 2026-02-08 01:36:28 +01:00
38 lines
1009 B
YAML
38 lines
1009 B
YAML
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
|