-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
helmrelease.yaml
131 lines (131 loc) 路 3.34 KB
/
helmrelease.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: loki
spec:
interval: 30m
timeout: 15m
chart:
spec:
chart: loki
version: 6.6.2
sourceRef:
kind: HelmRepository
name: grafana-charts
namespace: flux-system
install:
crds: Skip
remediation:
retries: 3
upgrade:
cleanupOnFail: true
crds: Skip
remediation:
strategy: rollback
retries: 3
values:
deploymentMode: SimpleScalable
loki:
podAnnotations:
configmap.reloader.stakater.com/reload: &cephBucket loki-ceph-bucket
secret.reloader.stakater.com/reload: *cephBucket
ingester:
chunk_encoding: snappy
storage:
type: s3
s3:
s3ForcePathStyle: true
insecure: true
schemaConfig:
configs:
- from: "2024-04-01" # quote
store: tsdb
object_store: s3
schema: v13
index:
prefix: loki_index_
period: 24h
structuredConfig:
auth_enabled: false
server:
log_level: info
http_listen_port: 3100
grpc_listen_port: 9095
grpc_server_max_recv_msg_size: 8388608
grpc_server_max_send_msg_size: 8388608
limits_config:
ingestion_burst_size_mb: 128
ingestion_rate_mb: 64
max_query_parallelism: 100
per_stream_rate_limit: 64M
per_stream_rate_limit_burst: 128M
reject_old_samples: true
reject_old_samples_max_age: 168h
retention_period: 30d
shard_streams:
enabled: true
split_queries_by_interval: 1h
query_scheduler:
max_outstanding_requests_per_tenant: 4096
frontend:
max_outstanding_per_tenant: 4096
ruler:
enable_api: true
enable_alertmanager_v2: true
alertmanager_url: http://alertmanager-operated.monitoring.svc.cluster.local:9093
storage:
type: local
local:
directory: /rules
rule_path: /rules/fake
analytics:
reporting_enabled: false
backend:
replicas: 3
persistence:
size: 20Gi
storageClass: ${CLUSTER_STORAGE_HOSTPATH}
gateway:
replicas: 3
image:
registry: ghcr.io
read:
replicas: 3
write:
replicas: 3
persistence:
size: 20Gi
storageClass: ${CLUSTER_STORAGE_HOSTPATH}
lokiCanary:
enabled: false
sidecar:
image:
repository: ghcr.io/kiwigrid/k8s-sidecar
enableUniqueFilenames: true
rules:
searchNamespace: ALL
folder: /rules/fake
test:
enabled: false
valuesFrom:
- kind: ConfigMap
targetPath: loki.storage.bucketNames.chunks
name: *cephBucket
valuesKey: BUCKET_NAME
- kind: ConfigMap
targetPath: loki.storage.s3.endpoint
name: *cephBucket
valuesKey: BUCKET_HOST
- kind: ConfigMap
targetPath: loki.storage.s3.region
name: *cephBucket
valuesKey: BUCKET_REGION
- kind: Secret
targetPath: loki.storage.s3.accessKeyId
name: *cephBucket
valuesKey: AWS_ACCESS_KEY_ID
- kind: Secret
targetPath: loki.storage.s3.secretAccessKey
name: *cephBucket
valuesKey: AWS_SECRET_ACCESS_KEY