# Deploy Elasticsearch in kubernetes using ECK

**URL:** <https://discuss.elastic.co/t/deploy-elasticsearch-in-kubernetes-using-eck/308900>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [July 5, 2022, 11:33am UTC](https://discuss.elastic.co/t/deploy-elasticsearch-in-kubernetes-using-eck/308900 "2022-07-05T11:33:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Biplab](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@Biplab](https://discuss.elastic.co/u/Biplab)\
**Post date:** [July 5, 2022, 11:33am UTC](https://discuss.elastic.co/t/deploy-elasticsearch-in-kubernetes-using-eck/308900/1 "2022-07-05T11:33:07Z")

</div>

Hi,

I want to deploy an Elasticsearch cluster using ECK with the following architecture :

Kubernetes cluster details:  
4 Nodes and each node have one POD.

Elasticsearch cluster details:  
4 Nodes. One Master, One data, One Client and One Kibana node. According to the ECK quickstart guide we need to mention the number of master/data nodes in the YAML configuration, Requirement is to deploy one ES node in one kubernetes POD. Can anyone please help whether we need to create and run 4 different YAML file in 4 different kubernetes node/POD to deploy Elasticsearch or We can create one YAML file and mention the number of master/data/client node and ES nodes will create in different kubernetes node/POD.

Thanks

---

<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:** [July 7, 2022, 7:06am UTC](https://discuss.elastic.co/t/deploy-elasticsearch-in-kubernetes-using-eck/308900/2 "2022-07-07T07:06:29Z")

</div>

> [@Biplab](#):
>
> Requirement is to deploy one ES node in one kubernetes POD

This is what is done by default.

> [@Biplab](#):
>
> We can create one YAML file and mention the number of master/data/client node and ES nodes will create in different kubernetes node/POD

Yes, please refer to [this example in the documentation](https://www.elastic.co/guide/en/cloud-on-k8s/2.2/k8s-node-configuration.html#k8s-node-configuration). There are 3 masters and 10 data nodes but it can easily be adjusted to your needs.

Regarding Kibana please refer to the documentation here: [Connect to an Elasticsearch cluster | Elastic Cloud on Kubernetes [2.2] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/2.2/k8s-kibana-es.html#k8s-kibana-eck-managed-es)

---

<div class="post-metadata">

**Author:** ![Biplab](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@Biplab](https://discuss.elastic.co/u/Biplab)\
**Post date:** [July 14, 2022, 8:09am UTC](https://discuss.elastic.co/t/deploy-elasticsearch-in-kubernetes-using-eck/308900/3 "2022-07-14T08:09:47Z")

</div>

Thanks @michael.morello for your help.

---

<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:** [August 11, 2022, 8:10am UTC](https://discuss.elastic.co/t/deploy-elasticsearch-in-kubernetes-using-eck/308900/4 "2022-08-11T08:10:35Z")

</div>

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