Problem with `node.roles` on latest Elasticsearch docker (7.11.0)

Hi,

how to set coordinating only node using node.roles? I passed as an empty variable but the node gets whole roles...cdhilmrstw when I passed the old way - disabled all other I have a coordinating only node , like below

According to coordinating-only-node i cant pass node.roles=[ ] becasue elasticsearch detect that as [[ ]] and its syntax error..

GET /_cat/nodes?pretty&v

    172.20.15.6           67          64   9   20.95   11.57     8.73 -          -      es03-coo01
    172.20.15.5           27          64  10   20.95   11.57     8.73 cdhilmrstw -      es03-coo02

es03-coo01 varaibles:

environment:
  - node.name=es03-coo01
  - node.master=false
  - node.voting_only=false
  - node.data=false
  - node.ingest=false
  - node.ml=false
  - node.transform=false
  - node.remote_cluster_client=false

es03-coo02 variables:

environment:
  - node.name=es03-coo02
  - node.roles=

docker exec -it es03-coo02 env

node.roles=
1 Like

ping

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.