Categories
Development System & Network

Elasticsearch – how to disable client access on data node?

I am fairly new to Elasticsearch and was watching some tutorials that are somewhat outdated.

In the tutorial, they said that if one has dedicated data nodes, it is recommended to disable client access on them so they won’t be serving queries and instead focus on indexing data. They used the setting node.client: false to disable client access, but I have come to learn that this setting has since been deprecated and removed.

The reasoning behind removing the node.client setting was that it was redundant and by setting node.master and node.data to false, the node became a dedicated client node.
What does this mean if they aren’t both set to false? is the client role always on? can it be turned off?

Leave a Reply

Your email address will not be published. Required fields are marked *