fuel-plugin-elasticsearch-k.../environment_config.yaml

46 lines
1.3 KiB
YAML

attributes:
retention_period:
value: '30'
label: 'Retention period'
description: 'The number of days after which data is automatically deleted within the Elasticsearch system (0 to never delete data).'
weight: 5
type: "text"
regex: &number_validation
source: '^\d+$'
error: "You must provide a number"
number_of_replicas:
value: '0'
label: 'Replication factor'
description: 'The number of replicas'
weight: 6
type: "text"
regex: *number_validation
# Don't expose the replication factor until clustering is supported
restrictions:
- condition: "true"
action: hide
# Parameter hidden in the UI on purpose
# this directory must match the mount point set in volumes.yaml
data_dir:
value: '/opt/es-data'
label: 'Elasticsearch directory'
description: 'Directory used by elasticsearch to store data.'
weight: 15
type: "text"
restrictions:
- condition: "true"
action: hide
jvm_heap_size:
value: '1'
label: 'JVM heap size'
description: 'in GB (between 1 and 32). The amount of memory reserved for the JVM.'
weight: 18
type: "text"
regex:
source: '^([1-9]|[12][0-9]|3[0-2])$'
error: 'Enter a value between 1 and 32'