Skip to content
9 changes: 9 additions & 0 deletions docs/sources/setup/install/helm/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -12760,6 +12760,15 @@ null
<td><pre lang="json">
[]
</pre>
</td>
</tr>
<tr>
<td>singleBinary.topologySpreadConstraints</td>
<td>list</td>
<td>Topology Spread Constraints for single binary pods The value will be passed through tpl.</td>
<td><pre lang="json">
[]
</pre>
</td>
</tr>
<tr>
Expand Down
3 changes: 3 additions & 0 deletions production/helm/loki/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ Entries should include a reference to the pull request that introduced the chang

## Unreleased

- [FEATURE] Add configurable `singleBinary.topologySpreadConstraints`. [#19534](https://github.com/grafana/loki/pull/19534)

## 6.44.0

- [DEPRECATION] The Loki Helm chart uses MinIO as an object store. MinIO will be removed from the Helm Charts in a future release. See [this issue](https://github.com/minio/minio/issues/21647) for more information. The Loki team is still investigating alternatives to replace MinIO.
- [CHANGE] Changed version of Grafana Loki to 3.5.7.
- [FEATURE] Allow auto-resizing the volume by recreating the StatefulSet. [#19217](https://github.com/grafana/loki/pull/19217).
- [BUGFIX] Add single-binary component to the podSelector. [#19229](https://github.com/grafana/loki/pull/19229).

## 6.43.0

- [BREAKING] **Loki UI has been completely removed from the Helm chart.** The experimental Loki UI has been moved to a [Grafana Plugin] (https://github.com/grafana/loki-operational-ui). Enabling the UI in the Helm chart will now only enable the APIs needed by the plugin, and will host them on the querier. The gateway will now forward all UI requests to the queriers. Users who previously had `loki.ui.enabled: true` should remove this configuration and migrate to the Grafana Loki plugin for UI functionality. [#19390](https://github.com/grafana/loki/pull/19390)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ spec:
{{- end }}
app.kubernetes.io/part-of: memberlist
spec:
{{- with .Values.singleBinary.topologySpreadConstraints }}
topologySpreadConstraints:
{{- tpl ( . | toYaml) $ | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "loki.serviceAccountName" . }}
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
{{ include "loki.enableServiceLinks" . }}
Expand Down
3 changes: 3 additions & 0 deletions production/helm/loki/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1494,6 +1494,9 @@ singleBinary:
app.kubernetes.io/name: '{{ include "loki.name" . }}'
app.kubernetes.io/instance: '{{ .Release.Name }}'
topologyKey: kubernetes.io/hostname
# -- Topology Spread Constraints for single binary pods
# The value will be passed through tpl.
topologySpreadConstraints: []
# -- DNS config for single binary pods
dnsConfig: {}
# -- Node selector for single binary pods
Expand Down
Loading