Hey, we ran into the same issue as this - Recreate a cluster with the same cluster_uuid in k8s stetefullset configuration - and will now add a persistent volume to the master nodes but I was wondering what best practices were when setting
cluster.initial_master_nodes. At the moment we are just setting it unconditionally for all master nodes but the documentation says that:
After the cluster has formed, this setting is no longer required. It should not be set for master-ineligible nodes, master-eligible nodes joining an existing cluster, or cluster restarts.
What is the best way to determine whether a cluster has already been bootstrapped and have this setting added/removed appropriately?