# Deploy ES in kubernetes

**URL:** <https://discuss.elastic.co/t/deploy-es-in-kubernetes/170116>\
**Category:** Elasticsearch\
**Created:** [February 27, 2019, 7:06am UTC](https://discuss.elastic.co/t/deploy-es-in-kubernetes/170116 "2019-02-27T07:06:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vuxuanlai](https://avatars.discourse-cdn.com/v4/letter/v/ecd19e/32.png) [@vuxuanlai](https://discuss.elastic.co/u/vuxuanlai)\
**Post date:** [February 27, 2019, 7:06am UTC](https://discuss.elastic.co/t/deploy-es-in-kubernetes/170116/1 "2019-02-27T07:06:27Z")

</div>

As I know that the default heap size for ES is 1 Gi. I would like to run ES in Kubernetes with multiple containers. My server have configuration as below:  
RAM: 4Gb  
CPU: 2Core  
Disk: 8G  
So how can I configure for ES to run as containers in Kubernetes?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [February 27, 2019, 7:15am UTC](https://discuss.elastic.co/t/deploy-es-in-kubernetes/170116/2 "2019-02-27T07:15:41Z")

</div>

Why would you run multiple ES containers on such a small host? Given that each Elasticsearch node also needs about the same amount of off-heap memory as it has heap, you do not have space for 3 nodes with 1GB heap.

---

<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 27, 2019, 7:15am UTC](https://discuss.elastic.co/t/deploy-es-in-kubernetes/170116/3 "2019-03-27T07:15:42Z")

</div>

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