Skip to content

Instantly share code, notes, and snippets.

@initcron
Created November 9, 2025 14:33
Show Gist options
  • Select an option

  • Save initcron/330906d6b45a7dee3d0a4f8a0dd9dd1d to your computer and use it in GitHub Desktop.

Select an option

Save initcron/330906d6b45a7dee3d0a4f8a0dd9dd1d to your computer and use it in GitHub Desktop.
Fixed Loki values.yaml
deploymentMode: SingleBinary
singleBinary:
replicas: 1
loki:
commonConfig:
replication_factor: 1
# Required for new installs
schemaConfig:
configs:
- from: "2024-04-01"
store: tsdb
object_store: s3
schema: v13
index:
prefix: loki_index_
period: 24h
# ✅ Define storage and bucket names
storage:
type: s3
bucketNames:
chunks: loki-chunks
ruler: loki-ruler
admin: loki-admin
s3:
# This endpoint points to the embedded MinIO service
endpoint: http://minio:9000
accessKeyId: loki
secretAccessKey: loki12345
s3ForcePathStyle: true
insecure: true
# Optional extras you had
pattern_ingester:
enabled: true
limits_config:
allow_structured_metadata: true
volume_enabled: true
ruler:
enable_api: true
# Enable the bundled MinIO and pre-create buckets
minio:
enabled: true
auth:
rootUser: loki
rootPassword: loki12345
defaultBuckets: "loki-chunks,loki-ruler,loki-admin"
# Zero out other modes
backend: { replicas: 0 }
read: { 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 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment