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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
Fixes: 4076: Host path prefix should be configurable (#4077)
Naden3b90eb191122
diff --git a/k8s/helm_charts2/templates/filer-statefulset.yaml b/k8s/helm_charts2/templates/filer-statefulset.yamlindex 689c1092cf..978cdeec85 100644--- a/k8s/helm_charts2/templates/filer-statefulset.yaml+++ b/k8s/helm_charts2/templates/filer-statefulset.yaml@@ -225,13 +225,13 @@ spec:{{- if eq .Values.filer.logs.type "hostPath" }}- name: seaweedfs-filer-log-volumehostPath:- path: /storage/logs/seaweedfs/filer+ path: {{ .Values.filer.logs.hostPathPrefix }}/logs/seaweedfs/filertype: DirectoryOrCreate{{- end }}{{- if eq .Values.filer.data.type "hostPath" }}- name: data-filerhostPath:- path: /storage/filer_store+ path: {{ .Values.filer.data.hostPathPrefix }}/filer_storetype: DirectoryOrCreate{{- end }}- name: db-schema-config-volumediff --git a/k8s/helm_charts2/templates/master-statefulset.yaml b/k8s/helm_charts2/templates/master-statefulset.yamlindex 0b58843fd8..c319620367 100644--- a/k8s/helm_charts2/templates/master-statefulset.yaml+++ b/k8s/helm_charts2/templates/master-statefulset.yaml@@ -196,13 +196,13 @@ spec:{{- if eq .Values.master.logs.type "hostPath" }}- name: seaweedfs-master-log-volumehostPath:- path: /storage/logs/seaweedfs/master+ path: {{ .Values.master.logs.hostPathPrefix }}/logs/seaweedfs/mastertype: DirectoryOrCreate{{- end }}{{- if eq .Values.master.data.type "hostPath" }}- name: data-{{ .Release.Namespace }}hostPath:- path: /ssd/seaweed-master/+ path: {{ .Values.master.data.hostPathPrefix }}/seaweed-master/type: DirectoryOrCreate{{- end }}{{- if .Values.global.enableSecurity }}diff --git a/k8s/helm_charts2/templates/s3-deployment.yaml b/k8s/helm_charts2/templates/s3-deployment.yamlindex b9efef827b..02b0e00467 100644--- a/k8s/helm_charts2/templates/s3-deployment.yaml+++ b/k8s/helm_charts2/templates/s3-deployment.yaml@@ -167,7 +167,7 @@ spec:{{- if eq .Values.s3.logs.type "hostPath" }}- name: logshostPath:- path: /storage/logs/seaweedfs/s3+ path: {{ .Values.s3.logs.hostPathPrefix }}/logs/seaweedfs/s3type: DirectoryOrCreate{{- end }}{{- if .Values.global.enableSecurity }}diff --git a/k8s/helm_charts2/templates/volume-statefulset.yaml b/k8s/helm_charts2/templates/volume-statefulset.yamlindex 0201c9cc4f..55431f4777 100644--- a/k8s/helm_charts2/templates/volume-statefulset.yaml+++ b/k8s/helm_charts2/templates/volume-statefulset.yaml@@ -206,19 +206,19 @@ spec:{{- if eq .Values.volume.data.type "hostPath" }}- name: datahostPath:- path: /storage/object_store/+ path: {{ .Values.volume.data.hostPathPrefix }}/object_store/type: DirectoryOrCreate{{- end }}{{- if and (eq .Values.volume.idx.type "hostPath") .Values.volume.dir_idx }}- name: idxhostPath:- path: /ssd/seaweedfs-volume-idx/+ path: {{ .Values.volume.idx.hostPathPrefix }}/seaweedfs-volume-idx/type: DirectoryOrCreate{{- end }}{{- if eq .Values.volume.logs.type "hostPath" }}- name: logshostPath:- path: /storage/logs/seaweedfs/volume+ path: {{ .Values.volume.logs.hostPathPrefix }}/logs/seaweedfs/volumetype: DirectoryOrCreate{{- end }}{{- if .Values.global.enableSecurity }}diff --git a/k8s/helm_charts2/values.yaml b/k8s/helm_charts2/values.yamlindex 02978927b6..4feacc7bf0 100644--- a/k8s/helm_charts2/values.yaml+++ b/k8s/helm_charts2/values.yaml@@ -68,11 +68,13 @@ master:type: "hostPath"size: ""storageClass: ""+ hostPathPrefix: /ssdlogs:type: "hostPath"size: ""storageClass: ""+ hostPathPrefix: /storageinitContainers: ""@@ -176,15 +178,19 @@ volume:type: "hostPath"size: ""storageClass: ""+ hostPathPrefix: /storage+idx:type: "hostPath"size: ""storageClass: ""+ hostPathPrefix: /ssdlogs:type: "hostPath"size: ""storageClass: ""+ hostPathPrefix: /storage# limit background compaction or copying speed in mega bytes per secondcompactionMBps: "50"@@ -308,11 +314,13 @@ filer:type: "hostPath"size: ""storageClass: ""+ hostPathPrefix: /storagelogs:type: "hostPath"size: ""storageClass: ""+ hostPathPrefix: /storageinitContainers: ""@@ -463,7 +471,7 @@ s3:type: "hostPath"size: ""storageClass: ""-+ hostPathPrefix: /storagecertificates:commonName: "SeaweedFS CA"