Skip to content

Commit

Permalink
support on the rackAwareTopologyLabels on sn-plaform chart
Browse files Browse the repository at this point in the history
Signed-off-by: ericsyh <[email protected]>
  • Loading branch information
ericsyh committed Dec 2, 2024
1 parent c439190 commit 173932b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ spec:
reclaimPolicy: {{ .Values.bookkeeper.volumes.reclaimPolicy | default "Delete" }}
{{- end }}
config:
{{- with .Values.bookkeeper.rackAwareTopologyLabels }}
rackAwareTopologyLabels:
{{- toYaml . | nindent 4 }}
{{- end }}
custom:
{{- with .Values.bookkeeper.custom }}
{{ toYaml . | indent 6 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/sn-platform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,10 @@ bookkeeper:
# preferredDuringSchedulingIgnoredDuringExecution - scheduler will try to enforce but not guranentee
type: preferredDuringSchedulingIgnoredDuringExecution
topologySpreadConstraints: []
# For BookKeeperCluster, the field rackAwareTopologyLabels should be configured as nodes topology labels the value of which will be set as the rack name.
# When there are multiple labels configured, all their values will be joined by "/".
# The operator will propagate the label value from nodes to pods and ensure the pod container starts with the label values as environment variables automatically.
rackAwareTopologyLabels: []
labels: {}
annotations: {}
securityContext:
Expand Down

0 comments on commit 173932b

Please sign in to comment.