core-deployments/loki/values.yaml

100 lines
2.4 KiB
YAML
Raw Normal View History

2023-10-24 17:54:06 +02:00
loki:
auth_enabled: false
persistence:
2024-10-03 14:16:28 +02:00
size: 10Gi
schemaConfig:
configs:
2024-04-14 12:53:14 +02:00
- from: 2024-04-14
store: tsdb
2024-04-15 16:01:30 +02:00
object_store: s3
schema: v13
index:
prefix: index_
period: 24h
compactor:
compaction_interval: 15m
2024-10-06 12:10:22 +02:00
retention_enabled: false
retention_delete_delay: 1h
retention_delete_worker_count: 150
delete_request_store: s3
2024-10-03 14:16:28 +02:00
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:
2024-10-03 14:16:28 +02:00
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
2024-01-26 13:39:13 +01:00
write:
2024-10-03 14:16:28 +02:00
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
2024-01-26 13:39:13 +01:00
persistence:
storageClass: longhorn-local
backend:
2024-10-03 14:16:28 +02:00
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
2024-01-26 13:39:13 +01:00
persistence:
storageClass: longhorn-local
2024-10-03 20:33:24 +02:00
gateway:
service:
labels:
prometheus.io/service-monitor: "false"