From 7054d810124be9013f86ff3c638b600ae143a4a0 Mon Sep 17 00:00:00 2001 From: Wylie Hobbs Date: Wed, 3 Apr 2024 09:32:13 -0600 Subject: [PATCH 1/4] chore: set unique cluster_label for loki-distributed memberlist Signed-off-by: Wylie Hobbs --- charts/loki-distributed/Chart.yaml | 2 +- charts/loki-distributed/values.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/loki-distributed/Chart.yaml b/charts/loki-distributed/Chart.yaml index 9425712460..cafe985e8a 100644 --- a/charts/loki-distributed/Chart.yaml +++ b/charts/loki-distributed/Chart.yaml @@ -3,7 +3,7 @@ name: loki-distributed description: Helm chart for Grafana Loki in microservices mode type: application appVersion: 2.9.10 -version: 0.79.4 +version: 0.80.0 home: https://grafana.github.io/helm-charts sources: - https://github.com/grafana/loki diff --git a/charts/loki-distributed/values.yaml b/charts/loki-distributed/values.yaml index dfef5cc1b3..701878dbee 100644 --- a/charts/loki-distributed/values.yaml +++ b/charts/loki-distributed/values.yaml @@ -108,6 +108,7 @@ loki: store: memberlist memberlist: + cluster_label: "{{ .Release.Name }}.{{ .Release.Namespace }}" join_members: - {{ include "loki.fullname" . }}-memberlist From 91c495e534f28d4466deefb0f9fb02684f23bf3b Mon Sep 17 00:00:00 2001 From: Wylie Hobbs Date: Wed, 3 Apr 2024 09:42:17 -0600 Subject: [PATCH 2/4] update docs Signed-off-by: Wylie Hobbs --- charts/loki-distributed/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/loki-distributed/README.md b/charts/loki-distributed/README.md index 08acf45949..a4e745758a 100644 --- a/charts/loki-distributed/README.md +++ b/charts/loki-distributed/README.md @@ -1,6 +1,6 @@ # loki-distributed -![Version: 0.79.4](https://img.shields.io/badge/Version-0.79.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.10](https://img.shields.io/badge/AppVersion-2.9.10-informational?style=flat-square) +![Version: 0.80.0](https://img.shields.io/badge/Version-0.79.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.10](https://img.shields.io/badge/AppVersion-2.9.10-informational?style=flat-square) Helm chart for Grafana Loki in microservices mode @@ -24,6 +24,9 @@ helm repo add grafana https://grafana.github.io/helm-charts Major version upgrades listed here indicate that there is an incompatible breaking change needing manual actions. +### To 0.80.0 +Introduces a default `cluster_label` for the ring memberlist, which will temporarily disrupt ingestion as it rolls out, unless you temporarily set `cluster_label_verification_disabled`. + ### From 0.78.x to 0.79.0 Removed the hardcoded, deprecated `boltdb.shipper.compactor.working-directory` flag in the Compactor Deployment template, so that it can be set with `.Values.compactor.extraArgs` and the `compactor.working-directory` flag if necessary. From 76aa5c30d93cfb54e385484d68ce7e218d8391e4 Mon Sep 17 00:00:00 2001 From: Wylie Hobbs Date: Wed, 6 Nov 2024 15:24:59 -0700 Subject: [PATCH 3/4] update doc template Signed-off-by: Wylie Hobbs --- charts/loki-distributed/README.md | 2 +- charts/loki-distributed/README.md.gotmpl | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/loki-distributed/README.md b/charts/loki-distributed/README.md index a4e745758a..fa5b4f0112 100644 --- a/charts/loki-distributed/README.md +++ b/charts/loki-distributed/README.md @@ -1,6 +1,6 @@ # loki-distributed -![Version: 0.80.0](https://img.shields.io/badge/Version-0.79.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.10](https://img.shields.io/badge/AppVersion-2.9.10-informational?style=flat-square) +![Version: 0.80.0](https://img.shields.io/badge/Version-0.80.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.10](https://img.shields.io/badge/AppVersion-2.9.10-informational?style=flat-square) Helm chart for Grafana Loki in microservices mode diff --git a/charts/loki-distributed/README.md.gotmpl b/charts/loki-distributed/README.md.gotmpl index 23153d19b2..7552cded61 100644 --- a/charts/loki-distributed/README.md.gotmpl +++ b/charts/loki-distributed/README.md.gotmpl @@ -22,6 +22,9 @@ helm repo add grafana https://grafana.github.io/helm-charts Major version upgrades listed here indicate that there is an incompatible breaking change needing manual actions. +### To 0.80.0 +Introduces a default `cluster_label` for the ring memberlist, which will temporarily disrupt ingestion as it rolls out, unless you temporarily set `cluster_label_verification_disabled`. + ### From 0.78.x to 0.79.0 Removed the hardcoded, deprecated `boltdb.shipper.compactor.working-directory` flag in the Compactor Deployment template, so that it can be set with `.Values.compactor.extraArgs` and the `compactor.working-directory` flag if necessary. From da83f37514a2b11d60e236badf15a0d5430bd80d Mon Sep 17 00:00:00 2001 From: Wylie Hobbs Date: Fri, 15 Nov 2024 09:33:43 -0700 Subject: [PATCH 4/4] update docs Signed-off-by: Wylie Hobbs --- charts/loki-distributed/README.md | 3 ++- charts/loki-distributed/README.md.gotmpl | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/loki-distributed/README.md b/charts/loki-distributed/README.md index fa5b4f0112..8ca6f9552f 100644 --- a/charts/loki-distributed/README.md +++ b/charts/loki-distributed/README.md @@ -25,7 +25,8 @@ helm repo add grafana https://grafana.github.io/helm-charts Major version upgrades listed here indicate that there is an incompatible breaking change needing manual actions. ### To 0.80.0 -Introduces a default `cluster_label` for the ring memberlist, which will temporarily disrupt ingestion as it rolls out, unless you temporarily set `cluster_label_verification_disabled`. + +Upgrading to chart 0.80.0 will set the memberlist cluster_label config option. During rollout your cluster will temporarilly be split into two memberlist clusters until all components are rolled out. This will interrupt reads and writes. This config option is set to prevent cross talk between Loki and other memberlist clusters. ### From 0.78.x to 0.79.0 Removed the hardcoded, deprecated `boltdb.shipper.compactor.working-directory` flag in the Compactor Deployment template, so that it can be set with `.Values.compactor.extraArgs` and the `compactor.working-directory` flag if necessary. diff --git a/charts/loki-distributed/README.md.gotmpl b/charts/loki-distributed/README.md.gotmpl index 7552cded61..87d916999e 100644 --- a/charts/loki-distributed/README.md.gotmpl +++ b/charts/loki-distributed/README.md.gotmpl @@ -23,7 +23,8 @@ helm repo add grafana https://grafana.github.io/helm-charts Major version upgrades listed here indicate that there is an incompatible breaking change needing manual actions. ### To 0.80.0 -Introduces a default `cluster_label` for the ring memberlist, which will temporarily disrupt ingestion as it rolls out, unless you temporarily set `cluster_label_verification_disabled`. + +Upgrading to chart 0.80.0 will set the memberlist cluster_label config option. During rollout your cluster will temporarilly be split into two memberlist clusters until all components are rolled out. This will interrupt reads and writes. This config option is set to prevent cross talk between Loki and other memberlist clusters. ### From 0.78.x to 0.79.0 Removed the hardcoded, deprecated `boltdb.shipper.compactor.working-directory` flag in the Compactor Deployment template, so that it can be set with `.Values.compactor.extraArgs` and the `compactor.working-directory` flag if necessary.