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:
|
elasticsearch_discovery_nodes:
|
||||||
- 127.0.0.1
|
- 127.0.0.1
|
||||||
|
|
||||||
|
elasticsearch_lower_disk_requirements: false
|
||||||
# X-Pack Security
|
# X-Pack Security
|
||||||
elasticsearch_xpack_security: false
|
elasticsearch_xpack_security: false
|
||||||
elasticsearch_xpack_security_user: elastic
|
elasticsearch_xpack_security_user: elastic
|
||||||
|
|||||||
@ -27,6 +27,13 @@ discovery.seed_hosts:
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% 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
|
# XPACK Security
|
||||||
|
|
||||||
{% if elasticsearch_xpack_security %}
|
{% if elasticsearch_xpack_security %}
|
||||||
@ -49,4 +56,4 @@ xpack.security.http.ssl.certificate_authorities: [ "{{ node_certs_destination }}
|
|||||||
{% elif generate_CA == false %}
|
{% elif generate_CA == false %}
|
||||||
xpack.security.http.ssl.certificate_authorities: [ "{{ node_certs_destination }}/{{ca_cert_name}}" ]
|
xpack.security.http.ssl.certificate_authorities: [ "{{ node_certs_destination }}/{{ca_cert_name}}" ]
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user