Skip to content

Instantly share code, notes, and snippets.

@girishramnani
Created November 10, 2016 09:25
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save girishramnani/f5f9a425e7ad986ce746117da62dd831 to your computer and use it in GitHub Desktop.
# ================ 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