2023-10-24 17:54:06 +02:00
|
|
|
loki:
|
2023-10-26 23:54:43 +02:00
|
|
|
auth_enabled: false
|
|
|
|
persistence:
|
2024-10-03 14:16:28 +02:00
|
|
|
size: 10Gi
|
2024-04-14 00:45:35 +02:00
|
|
|
schemaConfig:
|
|
|
|
configs:
|
2024-04-14 12:53:14 +02:00
|
|
|
- from: 2024-04-14
|
2024-04-14 00:45:35 +02:00
|
|
|
store: tsdb
|
2024-04-15 16:01:30 +02:00
|
|
|
object_store: s3
|
2024-04-14 00:45:35 +02:00
|
|
|
schema: v13
|
|
|
|
index:
|
|
|
|
prefix: index_
|
|
|
|
period: 24h
|
2024-08-07 15:52:49 +02:00
|
|
|
limits_config:
|
2024-10-03 14:16:28 +02:00
|
|
|
retention_period: 24h
|
2024-08-07 15:52:49 +02:00
|
|
|
compactor:
|
|
|
|
compaction_interval: 15m
|
|
|
|
retention_enabled: true
|
|
|
|
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}
|
2023-12-17 03:37:44 +01:00
|
|
|
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"
|