Skip to content

Commit 2706302

Browse files
meinenecjkroepkeJStickler
authored
fix(helm): Use correct serviceName in zone-aware ingester statefulsets (#18558)
Signed-off-by: Emmanuel Meinen <mannymeinen@gmail.com> Co-authored-by: Jan-Otto Kröpke <mail@jkroepke.de> Co-authored-by: J Stickler <julie.stickler@grafana.com>
1 parent 51d3907 commit 2706302

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎production/helm/loki/CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Entries should be ordered as follows:
1212
Entries should include a reference to the pull request that introduced the change.
1313

1414
[//]: # (<AUTOMATED_UPDATES_LOCATOR> : do not remove this line. This locator is used by the CI pipeline to automatically create a changelog entry for each new Loki release. Add other chart versions and respective changelog entries bellow this line.)
15+
- [BUGFIX] Fix serviceName in zone-aware ingester statefulsets [#18558](https://github.com/grafana/loki/pull/18558)
1516
## 6.33.0
1617

1718
- [FEATURE] Allow passing tenant password hash instead of password. [#17049](https://github.com/grafana/loki/pull/17049)

‎production/helm/loki/templates/ingester/statefulset-ingester-zone-a.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
replicas: {{ $replicas }}
2525
{{- end }}
2626
podManagementPolicy: Parallel
27-
serviceName: {{ include "loki.ingesterFullname" . }}-zone-a
27+
serviceName: {{ include "loki.ingesterFullname" . }}-zone-a-headless
2828
revisionHistoryLimit: {{ .Values.loki.revisionHistoryLimit }}
2929
{{- if and (semverCompare ">= 1.23-0" (include "loki.kubeVersion" .)) (.Values.ingester.persistence.enableStatefulSetAutoDeletePVC) }}
3030
{{/*

‎production/helm/loki/templates/ingester/statefulset-ingester-zone-b.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
replicas: {{ $replicas }}
2525
{{- end }}
2626
podManagementPolicy: Parallel
27-
serviceName: {{ include "loki.ingesterFullname" . }}-zone-b
27+
serviceName: {{ include "loki.ingesterFullname" . }}-zone-b-headless
2828
revisionHistoryLimit: {{ .Values.loki.revisionHistoryLimit }}
2929
{{- if and (semverCompare ">= 1.23-0" (include "loki.kubeVersion" .)) (.Values.ingester.persistence.enableStatefulSetAutoDeletePVC) }}
3030
{{/*

‎production/helm/loki/templates/ingester/statefulset-ingester-zone-c.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
replicas: {{ $replicas }}
2525
{{- end }}
2626
podManagementPolicy: Parallel
27-
serviceName: {{ include "loki.ingesterFullname" . }}-zone-c
27+
serviceName: {{ include "loki.ingesterFullname" . }}-zone-c-headless
2828
revisionHistoryLimit: {{ .Values.loki.revisionHistoryLimit }}
2929
{{- if and (semverCompare ">= 1.23-0" (include "loki.kubeVersion" .)) (.Values.ingester.persistence.enableStatefulSetAutoDeletePVC) }}
3030
{{/*

0 commit comments

Comments
 (0)