k3s/loki-stack-values.yaml

15 lines
395 B
YAML

# https://grafana.com/docs/loki/latest/operations/storage/retention/
loki:
persistence:
enabled: true
storageClassName: "%PVC_STORAGECLASS%"
size: "%PVC_STORAGE_SIZE%"
config:
compactor:
retention_enabled: true
retention_delete_delay: "2h"
compaction_interval: "20m"
retention_delete_worker_count: 10
limits_config:
retention_period: "168h"