# Deploy elasticsearch cluster on kubernetes using ECK

**URL:** <https://discuss.elastic.co/t/deploy-elasticsearch-cluster-on-kubernetes-using-eck/256869>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [November 27, 2020, 11:41am UTC](https://discuss.elastic.co/t/deploy-elasticsearch-cluster-on-kubernetes-using-eck/256869 "2020-11-27T11:41:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ismail\_Bourhlimi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ismail_bourhlimi/32/79803_2.png) [@Ismail\_Bourhlimi](https://discuss.elastic.co/u/Ismail_Bourhlimi)\
**Post date:** [November 27, 2020, 11:41am UTC](https://discuss.elastic.co/t/deploy-elasticsearch-cluster-on-kubernetes-using-eck/256869/1 "2020-11-27T11:41:34Z")

</div>

Hi,

I want to deploy an elasticsearch cluster with the following architecture :

- 3 master nodes
- 2 data nodes
- 1 client node

What do you advise me to have :

- 6 kubernetes pods each one containing a node
- 1 pod containing all the nodes

THANK YOU.

---

<div class="post-metadata">

**Author:** ![michael.morello](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael.morello/32/47448_2.png) [@michael.morello](https://discuss.elastic.co/u/michael.morello)\
**Post date:** [November 30, 2020, 7:20am UTC](https://discuss.elastic.co/t/deploy-elasticsearch-cluster-on-kubernetes-using-eck/256869/2 "2020-11-30T07:20:34Z")

</div>

Hi,

The operator creates one Elasticsearch node per Pod.  
If you want to implement the topology you described you need to create the following [nodeSets](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-orchestration.html#k8s-nodesets):

- 1 nodeSet with 3 master nodes
- 1 nodeSet with 2 data nodes
- 1 nodeSet with 1 client node

This will create a total of 6 Pods on your K8S cluster.

---

<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:** [November 4, 2022, 8:18am UTC](https://discuss.elastic.co/t/deploy-elasticsearch-cluster-on-kubernetes-using-eck/256869/3 "2022-11-04T08:18:32Z")

</div>


