Files
launchpad/infra/values/base/loki-values.yaml
2026-05-27 21:51:24 +02:00

54 lines
1.1 KiB
YAML

global:
dnsService: coredns
deploymentMode: SingleBinary
loki:
auth_enabled: false
commonConfig:
replication_factor: 1
storage:
type: 'filesystem'
schemaConfig:
configs:
- from: "2024-01-01"
store: tsdb
index:
prefix: loki_index_
period: 24h
object_store: filesystem # we're storing on filesystem so there's no real persistence here.
schema: v13
limits_config:
reject_old_samples: true
reject_old_samples_max_age: 168h
ingestion_rate_mb: 15
ingestion_burst_size_mb: 30
max_line_size: 512KB
chunksCache:
enabled: false
resultsCache:
enabled: false
singleBinary:
replicas: 1
resources:
requests:
cpu: 50m
memory: 256Mi
limits:
cpu: 100m
memory: 1Gi
# Temporary: clean up corrupted TSDB WAL so Loki can start.
# Remove this initContainer once Loki is healthy.
extraInitContainers:
- name: cleanup-corrupted-wal
image: busybox:1.36
command: ['sh', '-c', 'rm -rf /var/loki/tsdb-shipper-active/wal || true']
volumeMounts:
- name: storage
mountPath: /var/loki
read:
replicas: 0
backend:
replicas: 0
write:
replicas: 0