# New cluster vs. existing on Kubernetes

**URL:** https://discuss.elastic.co/t/new-cluster-vs-existing-on-kubernetes/206389
**Category:** Elasticsearch
**Created:** [November 4, 2019, 11:43am UTC](https://discuss.elastic.co/t/new-cluster-vs-existing-on-kubernetes/206389 "2019-11-04T11:43:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bcbrockway](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bcbrockway/32/48319_2.png) [@bcbrockway](https://discuss.elastic.co/u/bcbrockway)
#### Post date: [November 4, 2019, 11:43am UTC](https://discuss.elastic.co/t/new-cluster-vs-existing-on-kubernetes/206389/1 "2019-11-04T11:43:59Z")

</div>

Hey, we ran into the same issue as this - [Recreate a cluster with the same cluster\_uuid in k8s stetefullset configuration](https://discuss.elastic.co/t/recreate-a-cluster-with-the-same-cluster-uuid-in-k8s-stetefullset-configuration/184731) - 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.

> **[Bootstrapping a cluster | Elasticsearch Guide \[7.4\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.4/modules-discovery-bootstrap-cluster.html)**

What is the best way to determine whether a cluster has already been bootstrapped and have this setting added/removed appropriately?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 2, 2019, 11:44am UTC](https://discuss.elastic.co/t/new-cluster-vs-existing-on-kubernetes/206389/2 "2019-12-02T11:44:03Z")

</div>

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