mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-27 15:37:02 +00:00
add ec environment variables in helm chart (#2290)
Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
@@ -22,6 +22,8 @@ RustFS helm chart supports **standalone and distributed mode**. For standalone m
|
|||||||
| config.rustfs.address | string | `":9000"` | |
|
| config.rustfs.address | string | `":9000"` | |
|
||||||
| config.rustfs.console_address | string | `":9001"` | |
|
| config.rustfs.console_address | string | `":9001"` | |
|
||||||
| config.rustfs.console_enable | string | `"true"` | |
|
| config.rustfs.console_enable | string | `"true"` | |
|
||||||
|
| config.rustfs.domains | string | `""` | Enable virtual host mode. |
|
||||||
|
| config.rustfs.ec.storage_class_standard | string | `EC:4` | Standard storage class environment variable. |
|
||||||
| config.rustfs.log_level | string | `"info"` | |
|
| config.rustfs.log_level | string | `"info"` | |
|
||||||
| config.rustfs.obs_environment | string | `"development"` | |
|
| config.rustfs.obs_environment | string | `"development"` | |
|
||||||
| config.rustfs.obs_log_directory | string | `"/logs"` | |
|
| config.rustfs.obs_log_directory | string | `"/logs"` | |
|
||||||
|
|||||||
@@ -82,3 +82,9 @@ data:
|
|||||||
RUSTFS_SCANNER_IDLE_MODE: {{ .idle_mode | quote }}
|
RUSTFS_SCANNER_IDLE_MODE: {{ .idle_mode | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.mode.distributed.enabled }}
|
||||||
|
{{- with .Values.config.rustfs.ec }}
|
||||||
|
RUSTFS_ERASURE_SET_DRIVE_COUNT: {{ 16 | quote }}
|
||||||
|
RUSTFS_STORAGE_CLASS_STANDARD: {{ .storage_class_standard | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
@@ -68,6 +68,8 @@ config:
|
|||||||
# Optionally enable support for virtual-hosted-style requests.
|
# Optionally enable support for virtual-hosted-style requests.
|
||||||
# See more information: https://docs.rustfs.com/integration/virtual.html
|
# See more information: https://docs.rustfs.com/integration/virtual.html
|
||||||
domains: "" # e.g. "example.com"
|
domains: "" # e.g. "example.com"
|
||||||
|
ec:
|
||||||
|
storage_class_standard: "EC:4" # Storage class for standard storage class in erasure coding mode, default is "STANDARD"
|
||||||
log_rotation: # Specify log rotation settings
|
log_rotation: # Specify log rotation settings
|
||||||
# size: 100 # Default value: 100 MB
|
# size: 100 # Default value: 100 MB
|
||||||
# time: hour # Default value: hour, eg: day,hour,minute,second
|
# time: hour # Default value: hour, eg: day,hour,minute,second
|
||||||
|
|||||||
Reference in New Issue
Block a user