Ansible role for ElasticSearch load balancer
Go to file
markoburcul 961322d107
ansible: Change hostname to inventory_hostname
Due to the change caused by updated terraform script, we need to change
usage of variable `hostname` to `inventory_hostname`.

Signed-off-by: markoburcul <marko@status.im>
2024-09-17 08:14:04 +02:00
defaults docker: upgrade to Docker Compose V2 2024-08-08 12:47:41 +02:00
meta meta: use full names of Ansible roles 2024-03-10 13:34:46 +01:00
tasks docker: upgrade to Docker Compose V2 2024-08-08 12:47:41 +02:00
templates ansible: Change hostname to inventory_hostname 2024-09-17 08:14:04 +02:00
README.md drop es_lb_public, this is now handled in infra-misc 2021-05-25 17:11:02 +02:00

README.md

Description

This role configures a single ElasticSearch instance which acts as a Load Balancer for use by Kibana. It connects to the existing ElasticSearch cluster configured in the elasticsearch role and is used by the locally running Kibana.

Configuration

The only mandatory setting is what host to connect to:

es_lb_cluster_name: example-es-cluster
es_lb_master_nodes:
  - { name: node-01.es.example.vpn, addr: 1.2.3.4, port: 9300 }
  - { name: node-02.es.example.vpn, addr: 2.3.4.5, port: 9300 }
  - { name: node-03.es.example.vpn, addr: 3.4.5.6, port: 9300 }

Details

The main difference is the fact that most normal ElasticSearch functionalities are disabled on this node via the following configuration in templates/elasticsearch.tml.j2:

node.master: false
node.data: false
node.ingest: false