blob: 584f0fba1c4688d72c38a8ab9c7fd86d1ce0c216 [file] [log] [blame]
Mohammed Naser65cda132024-05-02 14:34:08 -04001---
2loki:
3 commonConfig:
4 replication_factor: 1
5 schemaConfig:
6 configs:
7 - from: 2024-04-01
8 store: tsdb
9 object_store: s3
10 schema: v13
11 index:
12 prefix: loki_index_
13 period: 24h
14 ingester:
15 chunk_encoding: snappy
16 tracing:
17 enabled: true
18 querier:
19 # Default is 4, if you have enough memory and CPU you can increase, reduce if OOMing
20 max_concurrent: 2
21
22#gateway:
23# ingress:
24# enabled: true
25# hosts:
26# - host: FIXME
27# paths:
28# - path: /
29# pathType: Prefix
30
31deploymentMode: SingleBinary
32singleBinary:
33 replicas: 1
34 resources:
35 limits:
36 cpu: 3
37 memory: 4Gi
38 requests:
39 cpu: 2
40 memory: 2Gi
41 extraEnv:
42 # Keep a little bit lower than memory limits
43 - name: GOMEMLIMIT
44 value: 3750MiB
45
46chunksCache:
47 # default is 500MB, with limited memory keep this smaller
48 writebackSizeLimit: 10MB
49
50# Enable minio for storage
51minio:
52 enabled: true
53
54# Zero out replica counts of other deployment modes
55backend:
56 replicas: 0
57read:
58 replicas: 0
59write:
60 replicas: 0
61
62ingester:
63 replicas: 0
64querier:
65 replicas: 0
66queryFrontend:
67 replicas: 0
68queryScheduler:
69 replicas: 0
70distributor:
71 replicas: 0
72compactor:
73 replicas: 0
74indexGateway:
75 replicas: 0
76bloomCompactor:
77 replicas: 0
78bloomGateway:
79 replicas: 0