Browse Source
Support specifying rack and dataCenter for filers in helm chart (#6144)
pull/6149/head
Dominik Grygiel
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
10 additions and
0 deletions
-
k8s/charts/seaweedfs/templates/filer-statefulset.yaml
-
k8s/charts/seaweedfs/values.yaml
|
@ -190,6 +190,12 @@ spec: |
|
|
{{- if .Values.filer.filerGroup}} |
|
|
{{- if .Values.filer.filerGroup}} |
|
|
-filerGroup={{ .Values.filer.filerGroup}} \ |
|
|
-filerGroup={{ .Values.filer.filerGroup}} \ |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
|
|
|
{{- if .Values.filer.rack }} |
|
|
|
|
|
-rack={{ .Values.filer.rack }} \ |
|
|
|
|
|
{{- end }} |
|
|
|
|
|
{{- if .Values.filer.dataCenter }} |
|
|
|
|
|
-dataCenter={{ .Values.filer.dataCenter }} \ |
|
|
|
|
|
{{- end }} |
|
|
{{- if .Values.filer.s3.enabled }} |
|
|
{{- if .Values.filer.s3.enabled }} |
|
|
-s3 \ |
|
|
-s3 \ |
|
|
-s3.port={{ .Values.filer.s3.port }} \ |
|
|
-s3.port={{ .Values.filer.s3.port }} \ |
|
|
|
@ -521,6 +521,10 @@ filer: |
|
|
metricsPort: 9327 |
|
|
metricsPort: 9327 |
|
|
loggingOverrideLevel: null |
|
|
loggingOverrideLevel: null |
|
|
filerGroup: "" |
|
|
filerGroup: "" |
|
|
|
|
|
# prefer to read and write to volumes in this data center (not set by default) |
|
|
|
|
|
dataCenter: null |
|
|
|
|
|
# prefer to write to volumes in this rack (not set by default) |
|
|
|
|
|
rack: null |
|
|
# replication type is XYZ: |
|
|
# replication type is XYZ: |
|
|
# X number of replica in other data centers |
|
|
# X number of replica in other data centers |
|
|
# Y number of replica in other racks in the same data center |
|
|
# Y number of replica in other racks in the same data center |
|
|