Skip to content
Closed
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
1 change: 1 addition & 0 deletions operations/helm/charts/mimir-distributed/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Entries should include a reference to the Pull Request that introduced the chang
* [ENHANCEMENT] Add Support to customize gossip ring k8s service annotations. #12718
* [ENHANCEMENT] Ruler querier and query-frontend: Add support for newly-introduced querier ring, which is used when performing query planning in query-frontends and distributing portions of the plan to queriers for execution. #13017
* [ENHANCEMENT] Upgrade rollout-operator chart to [0.37.0](https://github.com/grafana/helm-charts/blob/main/charts/rollout-operator/README.md#upgrade-of-grafana-rollout-operator). Note required actions for upgrading the rollout-operator chart. #13245
* [ENHANCEMENT] Add support for `kafka.address" to use an existing Kafka instead of installing an internal one.
* [BUGFIX] Fix missing newline for custom pod labels. #13325
* [BUGFIX] Upgrade rollout-operator chart to 0.37.1, which fixes server-tls.self-signed-cert.dns-name to use the full release name instead of always being set to `rollout-operator.NAMESPACE.svc`. If upgrading from 6.0.0 or 6.0.1, delete the `certificate` secret created by the rollout-operator pod and recreate the rollout-operator pod. #13357

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{- if .Values.kafka.enabled -}}
{{- if and .Values.kafka.enabled (eq .Values.kafka.address "") -}}
{{- include "mimir.lib.podDisruptionBudget" (dict "ctx" $ "component" "kafka") }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.kafka.enabled -}}
{{- if and .Values.kafka.enabled (eq .Values.kafka.address "") -}}
{{- with .Values.kafka -}}
{{- $replicas := .replicas | default 1 -}}
apiVersion: apps/v1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.kafka.enabled -}}
{{- if and .Values.kafka.enabled (eq .Values.kafka.address "") -}}
apiVersion: v1
kind: Service
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.kafka.enabled -}}
{{- if and .Values.kafka.enabled (eq .Values.kafka.address "") -}}
apiVersion: v1
kind: Service
metadata:
Expand Down
8 changes: 8 additions & 0 deletions operations/helm/charts/mimir-distributed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,12 @@ mimir:
kafka:
{{- if .Values.kafka.enabled }}
# Address of Kafka broker to bootstrap the connection.
{{- if .Values.kafka.address }}
address: {{ .Values.kafka.address }}
{{- else }}
address: {{ template "mimir.fullname" . }}-kafka.{{ .Release.Namespace }}.svc.{{ $.Values.global.clusterDomain }}:{{ $.Values.kafka.service.port }}
{{- end }}
{{- end }}
# Topic name.
topic: mimir-ingest
# Mimir will auto-create the topic on start up.
Expand Down Expand Up @@ -2987,6 +2991,10 @@ kafka:
# -- Enable Kafka for ingest-storage architecture
enabled: true

# address of existing kafka API
# kafka won't be installed if you set this
address: ""

image:
# -- The container image registry
registry: docker.io
Expand Down