Files
homeprod/kubernetes/infrastructure/observability/loki-values.yaml

100 lines
3.7 KiB
YAML

# Loki Helm values
# Uses Monolithic deployment mode with filesystem storage on a Longhorn PVC.
loki:
deploymentMode: Monolithic
# Filesystem storage — chunks + rules on the PVC.
storage:
type: filesystem
filesystem:
chunks_directory: /var/loki/chunks
rules_directory: /var/loki/rules
# Required schema config. tsdb store + filesystem object store, schema v13.
# See https://grafana.com/docs/loki/latest/operations/storage/schema/.
schemaConfig:
configs:
- from: "2024-04-01"
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
# For monolithic mode, point tsdb_shipper at the local store (no index gateway).
storage_config:
tsdb_shipper:
active_index_directory: /var/loki/index
cache_location: /var/loki/index-cache
monolithic:
persistence:
storageClassName: longhorn
accessModes:
- ReadWriteOnce
size: 10Gi
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: "1"
memory: 1Gi
# 7d log retention (user can tune later).
limitsConfig:
retention_period: 7d
# Disable distributed components + gateway + minio (monolithic only).
test:
enabled: false
sidecar:
rules:
env:
REQ_TIMEOUT: "120"
REQ_RETRY_CONNECT: "10"
REQ_RETRY_READ: "10"
REQ_RETRY_TOTAL: "20"
IGNORE_ALREADY_PROCESSED: "true"
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
cpu: 100m
memory: 64Mi
backend:
replicas: 0
read:
replicas: 0
write:
replicas: 0
singleBinary:
replicas: 0
gateway:
enabled: false
minio:
enabled: false
sops:
lastmodified: "2026-08-26T19:28:04Z"
mac: ENC[AES256_GCM,data:evTELz9bIobCkZDF9+yXXPBjI2Ua95iFEJN2b1mr2pzaei7sYMbseygjtn2RWz33bEMF3q18MSX5XmcqLBs0T2O0RO11yu1KG1QaG2+SudGhCv9+D5DggIsDlHH7PM32n9mX6brA58gD4DS4BKTSHm4MiWQFVxi2GjIdYnNwwww=,iv:KFFXx3MBq0VzAyUvRK//VEHzLVTVd1Zxwwjq/QHqPZ0=,tag:2EAvsPnPnt6dVBF3uXmjfQ==,type:str]
pgp:
- created_at: "2026-08-26T19:28:04Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hQIMA7uy4qQr71wiAQ/8CEL9TX06JlyWb79yvro2icKUtd4KCpeD/tBnAnn2ZNbc
zAL5xcMIk0FfJS4Rpi3isUimawVoLMBEFhdbNGSq6O/7Za+mmG95eodBalGEe9d0
vx0yZQHNNhVZVssMwixApcB4H9bss2qOZJ2An3iIak2dkCG+c+3r+RyeVvOlLF0N
Q/b4TEzVlnlHt3gAti77mku0rTbFfGNiKjC08jVtyqxXxSCiDCl97X6d7KHVXyEc
/F7WtoYUI14GyKZd5BX/XDuyEOMmGd+ZmM73oIIwrwlcrFnkzHyk45aqrruSpXns
xim9CO1Z3t8/wCc3udRmY9KnbKBV1vX3SjGecUi+tBwrchhJ9AqHRMQgOuDMEDx0
K2fCAAuww7ZdHCI8R7nBYOj+mbfgy+4vJ6Gtoeee/z7NITGAIZFbggHp8Tyv73AV
hxdaFj+//SzHTCu1VAeUTo3idFByAjPqFyIcXJwOhjhUuMhTGG4w6ZolbwNdt2jd
1OAxC2q3iECF2sCHDIk0ZhAitnulnilr6YtJ3tdevwVUfQOsuV0efRjkdKoeBHMp
FghsUcbItQuZ36+axCrsLk7d/K6fvetPx14wCX2xWma25S6+E4mRbvOlcUKfc6WE
/IaM8kObsRYxbhW7gfyBr/4qpGAUcQOJX2psYEXZVZJ0IwrFC9RAbIXYFf1Zv2/S
XAGypKSrEQxTBv+0zAi/cPVNZsx5mJR2bYGj4X56z4VVuLQRxVq9X4hLUxkLhoGh
0mmlW17YMU2+eVx9f5yTDyHlfRbS0UuVhmLEYtWfAYOWlXvuBB3mA+14ZoIB
=LgDs
-----END PGP MESSAGE-----
fp: DC6910268E657FF70BA7EC289974494E76938DDC
encrypted_regex: ^(password|value|ssh-key|api-key|user|username|privateKey|clientSecret|clientId|apiKey|extraArgs.*|.*Secret.*|extraEnvVars|.*SECRET.*|.*secret.*|key|.*Password|.*PASS|.*SOCIALACCOUNT_PROVIDERS|.*\.ya?ml)$
mac_only_encrypted: true
version: 3.10.2