apiVersion: v1
kind: ConfigMap
metadata:
  name: loki-server-conf
  labels:
    app: loki-server-conf
data:
  loki.yaml: |
    auth_enabled: false
    server:
      http_listen_port: 3100
    ingester:
      lifecycler:
        ring:
          store: inmemory
          replication_factor: 1
      chunk_idle_period: 15m
    schema_config:
      configs:
      - from: 0
        store: boltdb
        object_store: filesystem
        schema: v9
        index:
          prefix: index_
          period: 168h
    storage_config:
      boltdb:
        directory: /data/loki/index
      filesystem:
        directory: /data/loki/chunks
