mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
dir.idx volume config
enable setting dir.idx for volume server
This commit is contained in:
parent
cfc2033bf8
commit
5e62f77681
|
@ -86,6 +86,9 @@ spec:
|
||||||
-metricsPort {{ .Values.volume.metricsPort }} \
|
-metricsPort {{ .Values.volume.metricsPort }} \
|
||||||
{{- end }}
|
{{- end }}
|
||||||
-dir={{ .Values.volume.dir }} \
|
-dir={{ .Values.volume.dir }} \
|
||||||
|
{{- if .Values.volume.dir_idx }}
|
||||||
|
-dir.idx={{ .Values.volume.dir_idx }} \
|
||||||
|
{{- end }}
|
||||||
-max={{ .Values.volume.maxVolumes }} \
|
-max={{ .Values.volume.maxVolumes }} \
|
||||||
{{- if .Values.volume.rack }}
|
{{- if .Values.volume.rack }}
|
||||||
-rack={{ .Values.volume.rack }} \
|
-rack={{ .Values.volume.rack }} \
|
||||||
|
|
|
@ -144,6 +144,8 @@ volume:
|
||||||
|
|
||||||
# Directories to store data files. dir[,dir]... (default "/tmp")
|
# Directories to store data files. dir[,dir]... (default "/tmp")
|
||||||
dir: "/data"
|
dir: "/data"
|
||||||
|
# Directories to store index files. dir[,dir]... (default "/tmp")
|
||||||
|
dir_idx: null
|
||||||
|
|
||||||
# Maximum numbers of volumes, count[,count]...
|
# Maximum numbers of volumes, count[,count]...
|
||||||
# If set to zero on non-windows OS, the limit will be auto configured. (default "7")
|
# If set to zero on non-windows OS, the limit will be auto configured. (default "7")
|
||||||
|
|
Loading…
Reference in a new issue