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 @@ -12825,6 +12825,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
7 changes: 7 additions & 0 deletions production/helm/loki/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ Entries should include a reference to the pull request that introduced the chang

## Unreleased

- [CHANGE] Remove unused `storageClass` field from compactor persistence configuration. Storage class should be configured per-claim in the `claims` array instead.[#19443](https://github.com/grafana/loki/pull/19443)
- [FEATURE] Add configurable `singleBinary.topologySpreadConstraints`. [#19534](https://github.com/grafana/loki/pull/19534)
- [ENHANCEMENT] Update default readiness probe values to match operator [#19529](https://github.com/grafana/loki/pull/19529)
- [ENHANCEMENT] Allow configuration of alert rule severalties and thresholds[#13730](https://github.com/grafana/loki/pull/13730)
- [ENHANCEMENT] Standardize global image registry configuration to match other Grafana charts [#19246](https://github.com/grafana/loki/pull/19246)
- [BUGFIX] Move bucketName validations into the config helpers.[#19051](https://github.com/grafana/loki/pull/19051)
- [BUGFIX] Standardize global image registry to match other Grafana charts [#19246](https://github.com/grafana/loki/pull/19246)

## 6.45.1

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 @@ -1499,6 +1499,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