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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
7 additions and
0 deletions
-
k8s/charts/seaweedfs/templates/volume/volume-statefulset.yaml
-
k8s/charts/seaweedfs/values.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 }} |
|
|
|
|
|
|
|
@ -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 |
|
|
|
|
|
|
|
|