Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
persistence:
enabled: true
accessModes:
- ReadWriteOnce
size: 16Gi
storageClass: t1-replica-3
ingester:
replicas: 1
distributor:
replicas: 1
querier:
replicas: 1
queryFrontend:
replicas: 1
tableManager:
enabled: false
ruler:
enabled: true
replicas: 1
loki:
image:
repository: grafana/loki
tag: 2.1.0
pullPolicy: IfNotPresent
podSecurityContext:
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
fsGroup: 0
containerSecurityContext:
allowPrivilegeEscalation: true
config: |
auth_enabled: true
distributor:
ring:
kvstore:
store: consul
prefix: 'loki_collectors/'
consul:
host: 'REDACTED'
frontend:
log_queries_longer_than: 5s
compress_responses: true
ruler:
ring:
kvstore:
store: consul
prefix: 'loki_rulers/'
consul:
host: 'REDACTED'
storage:
type: s3
s3:
s3: 'REDACTED'
access_key_id: 'REDACTED'
secret_access_key: 'REDACTED'
bucketnames: 'n4-loki'
ingester:
lifecycler:
ring:
kvstore:
store: consul
prefix: 'loki_collectors/'
consul:
host: 'REDACTED'
storage_config:
aws:
s3: 'REDACTED'
access_key_id: 'REDACTED'
secret_access_key: 'REDACTED'
bucketnames: 'n4-loki'
schema_config:
configs:
- from: 2020-10-24
store: boltdb-shipper
object_store: s3
schema: v11
index:
prefix: index_
period: 24h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment