aboutsummaryrefslogtreecommitdiff
path: root/k8s
diff options
context:
space:
mode:
authorMohamed Sekour <mohamed.sekour@exfo.com>2025-07-23 22:18:50 +0200
committerGitHub <noreply@github.com>2025-07-23 13:18:50 -0700
commit2c5ffe16cf1cbee9cddbfd723a7de93bd11ee4bd (patch)
treee331873b8bc60f937e1eadd08994e471165cd570 /k8s
parent5ac037f763e20ffb9559e3ea0caf3bbe82589650 (diff)
downloadseaweedfs-2c5ffe16cf1cbee9cddbfd723a7de93bd11ee4bd.tar.xz
seaweedfs-2c5ffe16cf1cbee9cddbfd723a7de93bd11ee4bd.zip
Fix all in one deployment (#7031)
* make maxVolumes configurable for allInOne deployment Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com> * Update all-in-one-deployment.yaml fix typo * add robustness --------- Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com>
Diffstat (limited to 'k8s')
-rw-r--r--k8s/charts/seaweedfs/templates/all-in-one-deployment.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/k8s/charts/seaweedfs/templates/all-in-one-deployment.yaml b/k8s/charts/seaweedfs/templates/all-in-one-deployment.yaml
index 1086d6a4d..86bb45a8e 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 }} \