Mohammed Naser | 65cda13 | 2024-05-02 14:34:08 -0400 | [diff] [blame] | 1 | --- |
| 2 | loki: |
| 3 | commonConfig: |
| 4 | replication_factor: 1 |
| 5 | schemaConfig: |
| 6 | configs: |
| 7 | - from: 2024-04-01 |
| 8 | store: tsdb |
| 9 | object_store: s3 |
| 10 | schema: v13 |
| 11 | index: |
| 12 | prefix: loki_index_ |
| 13 | period: 24h |
| 14 | ingester: |
| 15 | chunk_encoding: snappy |
| 16 | tracing: |
| 17 | enabled: true |
| 18 | querier: |
| 19 | # Default is 4, if you have enough memory and CPU you can increase, reduce if OOMing |
| 20 | max_concurrent: 2 |
| 21 | |
| 22 | #gateway: |
| 23 | # ingress: |
| 24 | # enabled: true |
| 25 | # hosts: |
| 26 | # - host: FIXME |
| 27 | # paths: |
| 28 | # - path: / |
| 29 | # pathType: Prefix |
| 30 | |
| 31 | deploymentMode: SingleBinary |
| 32 | singleBinary: |
| 33 | replicas: 1 |
| 34 | resources: |
| 35 | limits: |
| 36 | cpu: 3 |
| 37 | memory: 4Gi |
| 38 | requests: |
| 39 | cpu: 2 |
| 40 | memory: 2Gi |
| 41 | extraEnv: |
| 42 | # Keep a little bit lower than memory limits |
| 43 | - name: GOMEMLIMIT |
| 44 | value: 3750MiB |
| 45 | |
| 46 | chunksCache: |
| 47 | # default is 500MB, with limited memory keep this smaller |
| 48 | writebackSizeLimit: 10MB |
| 49 | |
| 50 | # Enable minio for storage |
| 51 | minio: |
| 52 | enabled: true |
| 53 | |
| 54 | # Zero out replica counts of other deployment modes |
| 55 | backend: |
| 56 | replicas: 0 |
| 57 | read: |
| 58 | replicas: 0 |
| 59 | write: |
| 60 | replicas: 0 |
| 61 | |
| 62 | ingester: |
| 63 | replicas: 0 |
| 64 | querier: |
| 65 | replicas: 0 |
| 66 | queryFrontend: |
| 67 | replicas: 0 |
| 68 | queryScheduler: |
| 69 | replicas: 0 |
| 70 | distributor: |
| 71 | replicas: 0 |
| 72 | compactor: |
| 73 | replicas: 0 |
| 74 | indexGateway: |
| 75 | replicas: 0 |
| 76 | bloomCompactor: |
| 77 | replicas: 0 |
| 78 | bloomGateway: |
| 79 | replicas: 0 |