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
use collection optionaly
Konstantin Lebedev3239425c19db
diff --git a/k8s/seaweedfs/templates/cronjob.yaml b/k8s/seaweedfs/templates/cronjob.yamlindex 5442c44a91..cc8992a6a1 100644--- a/k8s/seaweedfs/templates/cronjob.yaml+++ b/k8s/seaweedfs/templates/cronjob.yaml@@ -35,7 +35,7 @@ spec:- -c- |set -ex- echo -e "lock\nvolume.balance -force{{ if .Values.volume.dataCenter }} -dataCenter {{ .Values.volume.dataCenter }}{{ end }}\nvolume.fix.replication\nunlock\n" | \+ echo -e "lock\nvolume.balance -force{{ if .Values.volume.dataCenter }} -dataCenter {{ .Values.volume.dataCenter }}{{ end }}{{ if .Values.cronjob.collection }} -collection {{ .Values.cronjob.collection }}{{ end }}\nvolume.fix.replication\nunlock\n" | \/usr/bin/weed shell \{{- if .Values.cronjob.master }}-master {{ .Values.cronjob.master }} \diff --git a/k8s/seaweedfs/values.yaml b/k8s/seaweedfs/values.yamlindex 28887605f8..bf814ad146 100644--- a/k8s/seaweedfs/values.yaml+++ b/k8s/seaweedfs/values.yaml@@ -351,6 +351,9 @@ cronjob:enabled: falseschedule: "*/7 * * * *"resources: null+ # balance all volumes among volume servers+ # ALL|EACH_COLLECTION|<collection_name>+ collection: ""master: ""filer: ""tolerations: ""