diff --git a/.configs/loki.yaml b/.configs/loki.yaml index 684092619..519195dfd 100644 --- a/.configs/loki.yaml +++ b/.configs/loki.yaml @@ -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