Browse Source

use dataCenter

pull/1561/head
Konstantin Lebedev 4 years ago
parent
commit
37e282e9a7
  1. 2
      k8s/seaweedfs/templates/cronjob.yaml

2
k8s/seaweedfs/templates/cronjob.yaml

@ -35,7 +35,7 @@ spec:
- -c
- |
set -ex
echo -e "lock\nvolume.balance -force -dataCenter {{ .Values.dataCenter }}\nvolume.fix.replication\nunlock\n" | \
echo -e "lock\nvolume.balance -force{{ if .Values.volume.dataCenter }} -dataCenter {{ .Values.volume.dataCenter }}{{ end }}\nvolume.fix.replication\nunlock\n" | \
/usr/bin/weed shell \
{{- if .Values.cronjob.master }}
-master {{ .Values.cronjob.master }} \

Loading…
Cancel
Save