Created
November 10, 2016 09:25
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ================ Autopilot Elasticsearch Configuration ================= | |
# This is the configuration file for Elasticsearch. It comes with good | |
# defaults, you can safely deploy the cluster without changing this file. | |
# You can read about the syntax and available configuration options here - | |
# https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-configuration.html | |
# Autopilot allows setting custom ENVIRONMENT VARS which can be accessed | |
# inside the config file with a ${CUSTOM_ENV_VAR} syntax. | |
# ======== Generic Settings ======= | |
# The value obtained from MIN_MASTER_NODES ENV, ideal value should be (N / 2) + 1 to avoid split brain situations. | |
discovery.zen.minimum_master_nodes: ${MIN_MASTER_NODES} | |
discovery.zen.ping_timeout: 6s | |
discovery.initial_state_timeout: 2m | |
discovery.zen.publish_timeout: 2m | |
discovery.zen.fd.ping_interval: 10s | |
discovery.zen.fd.ping_timeout: 60s | |
discovery.zen.fd.ping_retries: 6 | |
# ========= END: Generic Settings ========= | |
# ======= Autopilot Specific Settings ======= | |
network.publish_host: _ethwe:ipv4_ | |
network.bind_host: 0 | |
discovery.type: zen | |
# ES_HOSTS ENV set by Autopilot | |
discovery.zen.ping.unicast.hosts: ${ES_HOSTS} | |
# ====== END: Autopilot Specific Settings ====== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment