Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PTRENG-6072 - Add chart version for loki #63

Merged
merged 1 commit into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading