# Split Brain Elasticsearch Cluster

**URL:** <https://discuss.elastic.co/t/split-brain-elasticsearch-cluster/159201>\
**Category:** Elasticsearch\
**Created:** [December 3, 2018, 3:12pm UTC](https://discuss.elastic.co/t/split-brain-elasticsearch-cluster/159201 "2018-12-03T15:12:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![markyjackson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markyjackson/32/38367_2.png) [@markyjackson](https://discuss.elastic.co/u/markyjackson)\
**Post date:** [December 3, 2018, 3:12pm UTC](https://discuss.elastic.co/t/split-brain-elasticsearch-cluster/159201/1 "2018-12-03T15:12:05Z")

</div>

Hello all. Hopefully this is the right area to post a question.  
I have a kubernetes Elasticsearch cluster with a replica count of 3. I have my env vars set to:  
\> - name: NUMBER\_OF\_MASTERS

> ```
> value: "1"
> - name: NODE_MASTER
> value: "true"
> - name: NODE_DATA
> value: "true"
> 
> ```

When the cluster launches I show 2 masters when I curl /\_cat/nodes?v  
The really strange part is that this only happens roughly 25% of the time. Sometimes all the nodes will show and there is only 1 master but if I delete and redeploy it will show a split brain again.  
Am I missing something?  
I do apologize in advance if this is not the right forum to ask this

---

<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 31, 2018, 3:23pm UTC](https://discuss.elastic.co/t/split-brain-elasticsearch-cluster/159201/2 "2018-12-31T15:23:27Z")

</div>

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