core-deployments/loki/values.yaml
Aaron Riedel 3bed5fc4a4
All checks were successful
ci/woodpecker/push/dashboard Pipeline was successful
rework Loki
2024-10-03 14:23:16 +02:00

97 lines
2.3 KiB
YAML

loki:
auth_enabled: false
persistence:
size: 10Gi
schemaConfig:
configs:
- from: 2024-04-14
store: tsdb
object_store: s3
schema: v13
index:
prefix: index_
period: 24h
limits_config:
retention_period: 24h
compactor:
compaction_interval: 15m
retention_enabled: true
retention_delete_delay: 1h
retention_delete_worker_count: 150
delete_request_store: s3
storage:
bucketNames:
chunks: yolokube-logs
s3:
endpoint: https://fsn1.your-objectstorage.com
s3: s3://yolokube-logs
s3forcepathstyle: true
accessKeyId: ${S3_LOKI_ACCESS_KEY_ID}
secretAccessKey: ${S3_LOKI_SECRET_ACCESS_KEY}
monitoring:
dashboards:
enabled: true
serviceMonitor:
enabled: true
read:
extraArgs:
- '-config.expand-env=true'
extraEnv:
- name: S3_LOKI_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: loki-bucket-secret
key: S3_LOKI_ACCESS_KEY_ID
- name: S3_LOKI_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: loki-bucket-secret
key: S3_LOKI_SECRET_ACCESS_KEY
write:
extraArgs:
- '-config.expand-env=true'
extraEnv:
- name: S3_LOKI_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: loki-bucket-secret
key: S3_LOKI_ACCESS_KEY_ID
- name: S3_LOKI_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: loki-bucket-secret
key: S3_LOKI_SECRET_ACCESS_KEY
persistence:
storageClass: longhorn-local
backend:
extraArgs:
- '-config.expand-env=true'
extraEnv:
- name: S3_LOKI_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: loki-bucket-secret
key: S3_LOKI_ACCESS_KEY_ID
- name: S3_LOKI_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: loki-bucket-secret
key: S3_LOKI_SECRET_ACCESS_KEY
persistence:
storageClass: longhorn-local
compactor:
extraArgs:
- '-config.expand-env=true'
extraEnv:
- name: S3_LOKI_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: loki-bucket-secret
key: S3_LOKI_ACCESS_KEY_ID
- name: S3_LOKI_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: loki-bucket-secret
key: S3_LOKI_SECRET_ACCESS_KEY
persistence:
storageClass: longhorn-local