Skip to content
Open
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
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