Skip to content

Commit

Permalink
More work on loki chart
Browse files Browse the repository at this point in the history
Signed-off-by: Pete Wall <pete.wall@grafana.com>
  • Loading branch information
petewall committed Oct 4, 2024
1 parent e670f3d commit 868b22f
Showing 1 changed file with 17 additions and 69 deletions.
86 changes: 17 additions & 69 deletions .configs/loki.yaml
Original file line number Diff line number Diff line change
@@ -1,92 +1,40 @@
---
deploymentMode: SingleBinary
loki:
commonConfig:
replication_factor: 1
storage:
type: 'filesystem'
schemaConfig:
configs:
- from: 2024-04-01
- from: "2024-01-01"
store: tsdb
schema: v13
index:
prefix: loki_index_
period: 24h
object_store: filesystem # we're storing on filesystem so there's no real persistence here.
ingester:
chunk_encoding: snappy
querier:
# Default is 4, if you have enough memory and CPU you can increase, reduce if OOMing
max_concurrent: 2

test:
enabled: false

lokiCanary:
enabled: false

gateway:
basicAuth:
enabled: true
username: loki
password: lokipassword
service:
port: 8080

deploymentMode: SingleBinary
schema: v13
singleBinary:
replicas: 1
# resources:
# limits:
# cpu: 3
# memory: 4Gi
# requests:
# cpu: 2
# memory: 2Gi
# extraEnv:
# # Keep a little bit lower than memory limits
# - name: GOMEMLIMIT
# value: 3750MiB


# Zero out replica counts of other deployment modes
backend:
replicas: 0
read:
replicas: 0
backend:
replicas: 0
write:
replicas: 0

ingester:
replicas: 0
querier:
replicas: 0
queryFrontend:
replicas: 0
queryScheduler:
replicas: 0
distributor:
replicas: 0
compactor:
replicas: 0
indexGateway:
replicas: 0
bloomCompactor:
replicas: 0
bloomGateway:
replicas: 0
chunksCache:
enabled: false
resultsCache:
enabled: false
chunksCache:
lokiCanary:
enabled: false
minio:
test:
enabled: false

monitoring:
selfMonitoring:
enabled: false
grafanaAgent:
installOperator: false
serviceMonitor:
gateway:
basicAuth:
enabled: true
# This actually isn't recommended by Loki, the default is 15s for a reason, but we don't want to upset
# our DPM test calculations.
interval: 1m
username: loki
password: lokipassword
service:
port: 8080

0 comments on commit 868b22f

Please sign in to comment.