Add support for environments with low disk space
This adds and option to bypass ES default disk-based shard allocation.
This commit is contained in:
parent
931b663adf
commit
6db1fd65d3
@ -14,6 +14,7 @@ elasticsearch_cluster_nodes:
|
||||
elasticsearch_discovery_nodes:
|
||||
- 127.0.0.1
|
||||
|
||||
elasticsearch_lower_disk_requirements: false
|
||||
# X-Pack Security
|
||||
elasticsearch_xpack_security: false
|
||||
elasticsearch_xpack_security_user: elastic
|
||||
|
||||
@ -27,6 +27,13 @@ discovery.seed_hosts:
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if elasticsearch_lower_disk_requirements %}
|
||||
cluster.routing.allocation.disk.threshold_enabled: true
|
||||
cluster.routing.allocation.disk.watermark.flood_stage: 200mb
|
||||
cluster.routing.allocation.disk.watermark.low: 500mb
|
||||
cluster.routing.allocation.disk.watermark.high: 300mb
|
||||
{% endif %}
|
||||
|
||||
# XPACK Security
|
||||
|
||||
{% if elasticsearch_xpack_security %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user