mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
use collection optionaly
This commit is contained in:
parent
37e282e9a7
commit
3239425c19
|
@ -35,7 +35,7 @@ spec:
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
set -ex
|
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 \
|
/usr/bin/weed shell \
|
||||||
{{- if .Values.cronjob.master }}
|
{{- if .Values.cronjob.master }}
|
||||||
-master {{ .Values.cronjob.master }} \
|
-master {{ .Values.cronjob.master }} \
|
||||||
|
|
|
@ -351,6 +351,9 @@ cronjob:
|
||||||
enabled: false
|
enabled: false
|
||||||
schedule: "*/7 * * * *"
|
schedule: "*/7 * * * *"
|
||||||
resources: null
|
resources: null
|
||||||
|
# balance all volumes among volume servers
|
||||||
|
# ALL|EACH_COLLECTION|<collection_name>
|
||||||
|
collection: ""
|
||||||
master: ""
|
master: ""
|
||||||
filer: ""
|
filer: ""
|
||||||
tolerations: ""
|
tolerations: ""
|
||||||
|
|
Loading…
Reference in a new issue