Browse Source

dir.idx volume config

enable setting dir.idx for volume server
pull/1742/head
LazyDBA247-Anyvision 4 years ago
parent
commit
5e62f77681
  1. 3
      k8s/seaweedfs/templates/volume-statefulset.yaml
  2. 2
      k8s/seaweedfs/values.yaml

3
k8s/seaweedfs/templates/volume-statefulset.yaml

@ -86,6 +86,9 @@ spec:
-metricsPort {{ .Values.volume.metricsPort }} \
{{- end }}
-dir={{ .Values.volume.dir }} \
{{- if .Values.volume.dir_idx }}
-dir.idx={{ .Values.volume.dir_idx }} \
{{- end }}
-max={{ .Values.volume.maxVolumes }} \
{{- if .Values.volume.rack }}
-rack={{ .Values.volume.rack }} \

2
k8s/seaweedfs/values.yaml

@ -144,6 +144,8 @@ volume:
# Directories to store data files. dir[,dir]... (default "/tmp")
dir: "/data"
# Directories to store index files. dir[,dir]... (default "/tmp")
dir_idx: null
# Maximum numbers of volumes, count[,count]...
# If set to zero on non-windows OS, the limit will be auto configured. (default "7")

Loading…
Cancel
Save