-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathvalues-loki.yaml
106 lines (98 loc) · 2.15 KB
/
values-loki.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# Warning: there won't be any resource requests/limits for any Loki-related container
---
serviceAccount: # There is no way to set an account per component
create: true
name: loki-sa
test:
enabled: false
lokiCanary:
enabled: false
sidecar:
rules: # Rules stored on S3
enabled: false
gateway:
service:
labels:
prometheus.io/service-monitor: 'false' # nginx exporter unavailable
loki:
auth_enabled: true
commonConfig:
path_prefix: /var/loki
storage:
type: s3
s3:
endpoint: minio.storage.svc:9000
accessKeyId: remote_user
secretAccessKey: R3m0t3us3r
insecure: true
s3ForcePathStyle: true
bucketNames:
chunks: loki-data
ruler: loki-ruler
storage_config:
tsdb_shipper:
active_index_directory: /var/loki/tsdb-shipper-active
cache_location: /var/loki/tsdb-shipper-cache
cache_ttl: 24h
rulerConfig:
alertmanager_url: http://monitor-alertmanager.observability.svc:9093
enable_alertmanager_v2: true
enable_sharding: true
schemaConfig:
configs:
- from: '2024-04-08'
store: tsdb
object_store: s3
schema: v13
index:
period: 24h
prefix: loki_index_
limits_config:
ingestion_rate_mb: 10
retention_period: 7d # Global Metrics TTL
ingester:
max_chunk_age: 1h
querier:
query_ingesters_within: 2h
compactor:
working_directory: /var/loki/compactor
delete_request_store: s3
retention_enabled: true
delete_request_cancel_period: 5m
retention_delete_delay: 5m
resultsCache:
allocatedMemory: 512
resources:
requests:
cpu: 25m
chunksCache:
enabled: true
replicas: 1
allocatedMemory: 1024
resources:
requests:
cpu: 25m
# The following section is marked as deprecated
monitoring:
selfMonitoring:
enabled: false
grafanaAgent:
installOperator: false
serviceMonitor:
enabled: true
metricsInstance:
enabled: false
labels:
release: monitor
rules:
enabled: true
labels:
release: monitor
alerts:
enabled: true
labels:
release: monitor
dashboards:
enabled: true
labels:
release: monitor