Commit 724ad9f1 authored by Nikos Psaromanolakis's avatar Nikos Psaromanolakis
Browse files

fix: Update Loki configuration on values file

parent c3f1067b
Loading
Loading
Loading
Loading
+22 −12
Original line number Diff line number Diff line
@@ -863,7 +863,6 @@ kube-prometheus-stack:

loki:
  setup: true

  loki:
    auth_enabled: false
    commonConfig:
@@ -885,10 +884,18 @@ loki:
    ingester:
      chunk_encoding: snappy
    tracing:
      enabled: true
      enabled: false
    querier:
      # Default is 4, if you have enough memory and CPU you can increase, reduce if OOMing
      max_concurrent: 2
      max_concurrent: 1
    limits_config:
      retention_period: 72h
      ingestion_rate_mb: 4
      ingestion_burst_size_mb: 8
      max_query_parallelism: 1
      max_query_series: 500
      reject_old_samples: true
      reject_old_samples_max_age: 168h
    server:
      http_listen_port: 3100

@@ -905,27 +912,30 @@ loki:
  deploymentMode: SingleBinary
  singleBinary:
    replicas: 1
    #resources:
    #  limits:
    #    cpu: 3
    #    memory: 4Gi
    #  requests:
    #    cpu: 2
    #    memory: 2Gi
    resources:
      limits:
        cpu: 2
        memory: 4Gi
      requests:
        cpu: 1
        memory: 500Mi
    extraEnv:
      # Keep a little bit lower than memory limits
    - name: GOMEMLIMIT
      value: 3750MiB
    - name: GOGC
      value: "50"
    persistence:
      enabled: true
      size: 2Gi
      size: 8Gi
      enableStatefulSetAutoDeletePVC: false
      annotations: #{}
        "helm.sh/resource-policy": "keep"

  chunksCache:
    enabled: false
    # default is 500MB, with limited memory keep this smaller
    writebackSizeLimit: 10MB
    #writebackSizeLimit: 10MB

  # Enable minio for storage
  minio: