diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f4432c..6296885 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 9e84426..13f3792 100644 --- a/README.md +++ b/README.md @@ -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://.: ex: http://loki.$INST_NAMESPACE:3100 will be the "loki_url" value diff --git a/helm/loki-values.yaml b/helm/loki-values.yaml index 02d66cb..e09ebdb 100644 --- a/helm/loki-values.yaml +++ b/helm/loki-values.yaml @@ -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