Skip to content
Discussion options

You must be logged in to vote

If you look at the current logic in the elasticsearch.yml you can change the roles by modifying the minion file for that node and setting a custom role. So you could take an existing search node and assign it the master role in the minion file.

From the elasticsearch.yml:

{%- set NODE_ROLES = salt['pillar.get']('elasticsearch:node_roles', ['data', 'ingest']) %}

So you would just need to add the additional role to it in the minion pillar for an existing search node:

elasticsearch:
  node_roles:
    - data
    - ingest
    - master

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rwaight
Comment options

Answer selected by dougburks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants