# Issue with PVC in ECK

**URL:** <https://discuss.elastic.co/t/issue-with-pvc-in-eck/301071>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [March 30, 2022, 10:29am UTC](https://discuss.elastic.co/t/issue-with-pvc-in-eck/301071 "2022-03-30T10:29:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nids\_Rai](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nids_rai/32/103705_2.png) [@Nids\_Rai](https://discuss.elastic.co/u/Nids_Rai)\
**Post date:** [March 30, 2022, 10:29am UTC](https://discuss.elastic.co/t/issue-with-pvc-in-eck/301071/1 "2022-03-30T10:29:07Z")

</div>

Trying to setup elastic cluster using ECK documentation, but it fails and stays in Pending state

```auto
kubectl get pvc -n staging
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
elasticsearch-data-quickstart-es-default-0 Pending elasticsearch 17m

```

WHile doing **kubectl describe pod -n staging quickstart-es-default-0**

```auto
                 node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type Reason Age From Message
  ---- ------ ---- ---- -------
  Warning FailedScheduling 18s (x22 over 20m) default-scheduler 0/21 nodes are available: 21 pod has unbound immediate PersistentVolumeClaims.

```

---

<div class="post-metadata">

**Author:** ![pebrc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pebrc/32/101790_2.png) [@pebrc](https://discuss.elastic.co/u/pebrc)\
**Post date:** [April 19, 2022, 9:24am UTC](https://discuss.elastic.co/t/issue-with-pvc-in-eck/301071/2 "2022-04-19T09:24:14Z")

</div>

The Quickstart tutorial assumes that you have a default storage class setup. This should be the case on most hosted Kubernetes offerings. I would double check that is the case on your environment. [Volume claim templates | Elastic Cloud on Kubernetes [master] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/master/k8s-volume-claim-templates.html)

You can also describe your PVCs to better understand why they cannot be bound: [Troubleshooting methods | Elastic Cloud on Kubernetes [master] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/master/k8s-troubleshooting-methods.html)

---

<div class="post-metadata">

**Author:** ![AlanSBN](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@AlanSBN](https://discuss.elastic.co/u/AlanSBN)\
**Post date:** [April 24, 2022, 4:58pm UTC](https://discuss.elastic.co/t/issue-with-pvc-in-eck/301071/3 "2022-04-24T16:58:47Z")

</div>

I have the exact same issue. Just for reference I am using Ubuntu's microK8s. After trying to set up a default storage class I will report back here.

---

<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:** [May 22, 2022, 4:59pm UTC](https://discuss.elastic.co/t/issue-with-pvc-in-eck/301071/4 "2022-05-22T16:59:23Z")

</div>

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