Skip to content

Commit

Permalink
PTRENG-6072 - Add chart version for loki
Browse files Browse the repository at this point in the history
  • Loading branch information
benharosh committed May 8, 2024
1 parent 6c0375a commit 7f29300
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All changes to the log analytics integration will be documented in this file.

## [1.0.7] - May 8, 2024

* Fix issue where loki helm values file not compatible with loki 3.x

## [1.0.6] - April 25, 2024

* Fix Artifactory Grafana dashbaord to count correctly number of accessed docker images and repos
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,11 @@ helm repo update
Install the chart:

```bash
helm upgrade --install "loki" --values helm/loki-values.yaml grafana/loki -n $INST_NAMESPACE
helm upgrade --install "loki" --values helm/loki-values.yaml grafana/loki --version 5.48.0 -n $INST_NAMESPACE
```

:bulb: The above helm command is hard-coding the `loki` chart version to 5.48.0, since we only tested it with `loki` 2.9.6. `loki` 3.x charts (v6.0.x and up) have a breaking change, so if you would like to install `loki` 3.x please visit the [loki's official docs](https://grafana.com/docs/loki/latest/setup/install/helm/) and provide your own `loki-values.yaml`

```yaml
* "loki" will be the service name, the url to access loki as a datasource can be visualised as http://<service_name>.<namespace>:<port>
ex: http://loki.$INST_NAMESPACE:3100 will be the "loki_url" value
Expand Down
3 changes: 3 additions & 0 deletions helm/loki-values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This loki-values is only compatible with loki 2.x.
# For loki 3.x helm values please visit https://grafana.com/docs/loki/latest/setup/install/helm/
deploymentMode: SingleBinary
loki:
commonConfig:
replication_factor: 1
Expand Down

0 comments on commit 7f29300

Please sign in to comment.