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 Lebedev186e42345e21
diff --git a/k8s/seaweedfs/templates/cronjob.yaml b/k8s/seaweedfs/templates/cronjob.yamlindex cc8992a6a1..ad4406d4fa 100644--- a/k8s/seaweedfs/templates/cronjob.yaml+++ b/k8s/seaweedfs/templates/cronjob.yaml@@ -9,7 +9,6 @@ spec:concurrencyPolicy: ForbidfailedJobsHistoryLimit: 2successfulJobsHistoryLimit: 2- startingDeadlineSeconds: 300jobTemplate:spec:backoffLimit: 2@@ -35,7 +34,11 @@ spec:- -c- |set -ex- 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" | \+ echo -e "lock\n\+ volume.balance -force\+ {{ if .Values.volume.dataCenter }} -dataCenter {{ .Values.volume.dataCenter }}{{ end }}\+ {{ if .Values.cronjob.collection }} -collection {{ .Values.cronjob.collection }}{{ end }}\n\+ volume.fix.replication\nunlock\n" | \/usr/bin/weed shell \{{- if .Values.cronjob.master }}-master {{ .Values.cronjob.master }} \