So I want to automate the deployment of a 3 or 4 node ES cluster.
The discovery.zen.minimum_master_nodes setting for a cluster this size should probably be 3 which is how I want to set it.
Problem is, how do I automate this deployment?
If I set it to "3" out of the gate the nodes will never create a cluster because one does not exist yet.
I need to set it to "1", wait for the nodes to create a cluster and elect a master and then set it to "3". Is this the only way to go about this or I'm I missing something?