2025-12-06 23:42:59 +00:00
|
|
|
loki:
|
2025-12-13 14:49:51 +00:00
|
|
|
# Default cluster name if not overridden
|
|
|
|
|
clusterName: default
|
2025-12-07 01:31:03 +00:00
|
|
|
loki:
|
|
|
|
|
config: |
|
|
|
|
|
auth_enabled: false
|
|
|
|
|
server:
|
|
|
|
|
http_listen_port: 3100
|
|
|
|
|
ingester:
|
|
|
|
|
lifecycler:
|
|
|
|
|
address: 127.0.0.1
|
|
|
|
|
ring:
|
|
|
|
|
kvstore:
|
|
|
|
|
store: inmemory
|
|
|
|
|
replication_factor: 1
|
2025-12-07 19:28:00 +00:00
|
|
|
wal:
|
|
|
|
|
dir: /var/loki/wal
|
2025-12-07 01:31:03 +00:00
|
|
|
schema_config:
|
|
|
|
|
configs:
|
|
|
|
|
- from: 2020-10-24
|
|
|
|
|
store: boltdb-shipper
|
|
|
|
|
object_store: filesystem
|
|
|
|
|
schema: v11
|
|
|
|
|
index:
|
|
|
|
|
prefix: index_
|
|
|
|
|
period: 24h
|
|
|
|
|
storage_config:
|
|
|
|
|
boltdb_shipper:
|
2025-12-07 01:53:39 +00:00
|
|
|
active_index_directory: /var/loki/index
|
2025-12-07 19:19:41 +00:00
|
|
|
cache_location: /var/loki/boltdb-cache
|
|
|
|
|
cache_ttl: 24h
|
2025-12-07 01:31:03 +00:00
|
|
|
shared_store: filesystem
|
|
|
|
|
filesystem:
|
2025-12-07 01:53:39 +00:00
|
|
|
directory: /var/loki/chunks
|
2025-12-07 18:48:02 +00:00
|
|
|
compactor:
|
|
|
|
|
working_directory: /var/loki/compactor
|
|
|
|
|
shared_store: filesystem
|
2025-12-07 01:31:03 +00:00
|
|
|
chunk_store_config:
|
|
|
|
|
max_look_back_period: 672h
|
|
|
|
|
table_manager:
|
|
|
|
|
retention_deletes_enabled: true
|
|
|
|
|
retention_period: 672h
|
2025-12-06 23:42:59 +00:00
|
|
|
|
2025-12-12 04:57:03 +00:00
|
|
|
monitoring:
|
|
|
|
|
selfMonitoring:
|
2025-12-12 12:58:45 +00:00
|
|
|
# -- Grafana Agent annotations
|
|
|
|
|
annotations: {}
|
|
|
|
|
# -- Additional Grafana Agent labels
|
|
|
|
|
labels: {}
|
|
|
|
|
# -- Enable the config read api on port 8080 of the agent
|
|
|
|
|
enableConfigReadAPI: false
|
|
|
|
|
extraClusterRoleRules:
|
|
|
|
|
- apiGroups: [""]
|
|
|
|
|
resources: ["pods/log"]
|
|
|
|
|
verbs: ["get", "list", "watch"]
|
2025-12-12 04:57:03 +00:00
|
|
|
grafanaAgent:
|
|
|
|
|
podLogs:
|
|
|
|
|
enabled: false
|
|
|
|
|
namespaceSelector:
|
|
|
|
|
any: true
|
|
|
|
|
logsInstance:
|
|
|
|
|
podLogsSelector:
|
|
|
|
|
matchLabels: {}
|
|
|
|
|
|
2025-12-07 01:31:03 +00:00
|
|
|
singleBinary:
|
|
|
|
|
replicas: 1
|
2026-01-06 12:04:29 +00:00
|
|
|
nodeSelector:
|
|
|
|
|
workload: infra
|
2025-12-07 01:31:03 +00:00
|
|
|
persistence:
|
|
|
|
|
enabled: true
|
|
|
|
|
size: 20Gi
|
|
|
|
|
storageClass: "linode-block-storage-retain"
|
2025-12-06 23:42:59 +00:00
|
|
|
|
2025-12-07 01:31:03 +00:00
|
|
|
read:
|
|
|
|
|
replicas: 0
|
2025-12-06 23:42:59 +00:00
|
|
|
|
2025-12-07 01:31:03 +00:00
|
|
|
write:
|
|
|
|
|
replicas: 0
|
2025-12-06 23:42:59 +00:00
|
|
|
|
2025-12-07 01:31:03 +00:00
|
|
|
backend:
|
|
|
|
|
replicas: 0
|
2025-12-06 23:42:59 +00:00
|
|
|
|
2025-12-07 01:31:03 +00:00
|
|
|
gateway:
|
|
|
|
|
enabled: false
|