Skip to content

Commit

Permalink
chunks-cache to 1G
Browse files Browse the repository at this point in the history
  • Loading branch information
camrossi committed Jul 17, 2024
1 parent 9a82c6b commit fea9fa8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ jobs:
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_SKIP_EXISTING: True
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,14 @@ The `backend` and `write` deployments requires persistent volumes. This chart is
- `3 x data-loki-backend-X`
- `3 x data-loki-write-X`

The PVC Size can be easily changed if required. Check the `loki` section in the [Values](charts/aci-monitoring-stack/values.yaml) file.
The PVC Size can be easily changed if required.

Loki also requires an `Object Store`. This chart is pre-configured to deploy [minio](https://min.io/). *Note:* Currently [Loki Chart](https://github.com/grafana/loki/tree/main/production/helm/loki) is deploying a very old version of `Minio` and there is a [PR open](https://github.com/grafana/loki/pull/11409) to address this already.

Loki also support `chunks-cache` via `memcached`. The default config allocates 8G of memory. I have decreased this to 1G by default.

If you want to change any of these parameters check the `loki` section in the [Values](charts/aci-monitoring-stack/values.yaml) file.

Assuming the default parameters are acceptable the only required config for loki is to set the `rulerConfig.external_url` to point to the Grafana `ingress` URL

```yaml
Expand Down
3 changes: 2 additions & 1 deletion charts/aci-monitoring-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@ loki:
enabled: true
singleBinary:
replicas: 0

chunksCache:
allocatedMemory: 1024
ingester:
replicas: 0
querier:
Expand Down

0 comments on commit fea9fa8

Please sign in to comment.