Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

Fix all in one deployment (#7031)

Mohamed Sekour2c5ffe16cf1c
diff --git a/k8s/charts/seaweedfs/templates/all-in-one-deployment.yaml b/k8s/charts/seaweedfs/templates/all-in-one-deployment.yaml
index 1086d6a4dc..86bb45a8eb 100644
--- a/k8s/charts/seaweedfs/templates/all-in-one-deployment.yaml
+++ b/k8s/charts/seaweedfs/templates/all-in-one-deployment.yaml
@@ -51,7 +51,7 @@ spec:
{{- end }}
{{- if .Values.allInOne.topologySpreadConstraints }}
topologySpreadConstraints:
- {{ tpl .Values.allInOne.topologySpreadConstraint . | nindent 8 | trim }}
+ {{ tpl .Values.allInOne.topologySpreadConstraints . | nindent 8 | trim }}
{{- end }}
{{- if .Values.allInOne.tolerations }}
tolerations:
@@ -142,6 +142,9 @@ spec:
{{- if .Values.allInOne.disableHttp }}
-disableHttp={{ .Values.allInOne.disableHttp }} \
{{- end }}
+ {{- if and (.Values.volume.dataDirs) (index .Values.volume.dataDirs 0 "maxVolumes") }}
+ -volume.max={{ index .Values.volume.dataDirs 0 "maxVolumes" }} \
+ {{- end }}
-master.port={{ .Values.master.port }} \
{{- if .Values.global.enableReplication }}
-master.defaultReplication={{ .Values.global.replicationPlacement }} \