Browse Source

Support volume server ID in Helm chart (#7867)

helm: Support volume server ID
pull/7872/head
Sheya Bernstein 13 hours ago
committed by GitHub
parent
commit
911aca74f3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      k8s/charts/seaweedfs/templates/volume/volume-statefulset.yaml
  2. 4
      k8s/charts/seaweedfs/values.yaml

3
k8s/charts/seaweedfs/templates/volume/volume-statefulset.yaml

@ -176,6 +176,9 @@ spec:
{{- if $volume.dataCenter }}
-dataCenter={{ $volume.dataCenter }} \
{{- end }}
{{- if $volume.id }}
-id={{ $volume.id }} \
{{- end }}
-ip.bind={{ $volume.ipBind }} \
-readMode={{ $volume.readMode }} \
{{- if $volume.whiteList }}

4
k8s/charts/seaweedfs/values.yaml

@ -401,6 +401,10 @@ volume:
# Volume server's rack name
rack: null
# Stable identifier for the volume server, independent of IP address
# Useful for Kubernetes environments with hostPath volumes to maintain stable identity
id: null
# Volume server's data center name
dataCenter: null

Loading…
Cancel
Save