Newer
Older
# https://github.com/grafana/helm-charts/blob/main/charts/loki-stack/values.yaml
loki:
# https://github.com/grafana/helm-charts/blob/main/charts/loki/values.yaml
enabled: true
resources:
limits:
memory: 180Mi
requests:
memory: 90Mi
persistence:
enabled: true
accessModes:
- ReadWriteOnce
size: 10Gi
annotations: {}
# existingClaim:
config:
# https://github.com/grafana/loki/blob/main/cmd/loki/loki-local-config.yaml
# https://grafana.com/docs/loki/latest/operations/storage/retention
schema_config:
configs:
store: boltdb-shipper
object_store: filesystem
schema: v11
index:
prefix: index_
active_index_directory: /data/loki/boltdb-shipper-active
cache_location: /data/loki/boltdb-shipper-cache
cache_ttl: 24h # Can be increased for faster performance over longer query periods, uses more disk space
shared_store: filesystem
filesystem:
working_directory: /data/loki/boltdb-shipper-compactor
shared_store: filesystem
limits_config:
reject_old_samples: true
reject_old_samples_max_age: 168h # 7 days
chunk_store_config:
max_look_back_period: 672h # 28 days
table_manager:
retention_deletes_enabled: true
retention_period: 672h # 28 days
promtail:
# https://github.com/grafana/helm-charts/blob/main/charts/promtail/values.yaml
enabled: true
initContainer:
enabled: true
fsInotifyMaxUserInstances: 512
resources:
limits:
memory: 256Mi
requests:
memory: 128Mi