Set role for cluster-member node

We 've been using ELK v7.10 in a cluster setup with several nodes.
For the time being, all nodes have the same roles.

According to the documentation, we could specify that a given node (member of the cluster) can have the data_cold role.

Is there an API we could invoke in order to set that role once the node becomes part of the cluster?
Is there a specific flag we should have used while adding the node in the cluster?

That is set in the Elasticsearch config file.

Please note that 7.10 is EOL, you should upgrade as a matter of urgency.

Thank you @Christian_Dahlqvist !
So, all it takes is setting node.roles: [ data_cold ] via the relevant elasticsearch.yml config file.

@warkolm useful link! We 'll make sure we frequently track the EOL versions.

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