# I need to create an elastic search cluster with one master and two data nodes

**URL:** <https://discuss.elastic.co/t/i-need-to-create-an-elastic-search-cluster-with-one-master-and-two-data-nodes/326929>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [March 3, 2023, 10:53am UTC](https://discuss.elastic.co/t/i-need-to-create-an-elastic-search-cluster-with-one-master-and-two-data-nodes/326929 "2023-03-03T10:53:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ram\_M](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ram_m/32/117469_2.png) [@Ram\_M](https://discuss.elastic.co/u/Ram_M)\
**Post date:** [March 3, 2023, 10:53am UTC](https://discuss.elastic.co/t/i-need-to-create-an-elastic-search-cluster-with-one-master-and-two-data-nodes/326929/1 "2023-03-03T10:53:36Z")

</div>

So how can I deploy in one statefulset?  
or I need to deploy in separate statefulset for master and data plane and connect to it?

---

<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:** [March 31, 2023, 10:54am UTC](https://discuss.elastic.co/t/i-need-to-create-an-elastic-search-cluster-with-one-master-and-two-data-nodes/326929/2 "2023-03-31T10:54:17Z")

</div>

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