# Elasticsearch ECK : Kubernetes deployment via default settings showing error

**URL:** <https://discuss.elastic.co/t/elasticsearch-eck-kubernetes-deployment-via-default-settings-showing-error/253231>\
**Category:** Elasticsearch\
**Created:** [October 25, 2020, 10:31am UTC](https://discuss.elastic.co/t/elasticsearch-eck-kubernetes-deployment-via-default-settings-showing-error/253231 "2020-10-25T10:31:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kelk](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@kelk](https://discuss.elastic.co/u/kelk)\
**Post date:** [October 25, 2020, 10:31am UTC](https://discuss.elastic.co/t/elasticsearch-eck-kubernetes-deployment-via-default-settings-showing-error/253231/1 "2020-10-25T10:31:22Z")

</div>

I was following as per quickstart summary of : [https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-elasticsearch.html](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-elasticsearch.html)  
But when i start , I'm getting below error

```auto
0/1 nodes are available: 1 Insufficient memory.
0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims.

```

I've tried to follow the [manage compute resources](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-managing-compute-resources.html) and have put as 2GB.

Anyone faced the issue? Any idea to run ECK based cluster with a genuine example?

---

<div class="post-metadata">

**Author:** ![Khalil\_Jomaa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/khalil_jomaa/32/77835_2.png) [@Khalil\_Jomaa](https://discuss.elastic.co/u/Khalil_Jomaa)\
**Post date:** [October 25, 2020, 1:57pm UTC](https://discuss.elastic.co/t/elasticsearch-eck-kubernetes-deployment-via-default-settings-showing-error/253231/2 "2020-10-25T13:57:58Z")

</div>

How many free memory you have on your K8S cluster?  
Are you trying to install ECK on minikube? existing cluster?  
Can you add how you limited the resources in the Yaml file?

---

<div class="post-metadata">

**Author:** ![kelk](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@kelk](https://discuss.elastic.co/u/kelk)\
**Post date:** [October 25, 2020, 8:26pm UTC](https://discuss.elastic.co/t/elasticsearch-eck-kubernetes-deployment-via-default-settings-showing-error/253231/3 "2020-10-25T20:26:05Z")

</div>

Figured out the problem.  
It was resource contention problem at "minikube" level (and not at the nodes/cluster level). So allocated enough memory to ensure all the deployments work.

```auto
# had to delete and create again
minikube start --vm-driver=virtualbox --cpus 8 --memory 16384

```

---

<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 22, 2020, 8:26pm UTC](https://discuss.elastic.co/t/elasticsearch-eck-kubernetes-deployment-via-default-settings-showing-error/253231/4 "2020-11-22T20:26:13Z")

</div>

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