# Stuck pending elasticdeployment pods

**URL:** <https://discuss.elastic.co/t/stuck-pending-elasticdeployment-pods/249384>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [September 21, 2020, 2:58pm UTC](https://discuss.elastic.co/t/stuck-pending-elasticdeployment-pods/249384 "2020-09-21T14:58:32Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dkow](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dkow/32/47340_2.png) [@dkow](https://discuss.elastic.co/u/dkow)\
**Post date:** [September 24, 2020, 8:14am UTC](https://discuss.elastic.co/t/stuck-pending-elasticdeployment-pods/249384/6 "2020-09-24T08:14:35Z")

</div>

The storage class looks fine. If the persistent volume is correct (how did you create it?), you should make sure that your Elasticsearch resource contains `volumeClaimTemplates` part and it references your storage class name (see below). I didn't see it added in the output you've posted.

```auto
spec:
  nodeSets:
  - name: default
    count: 3
    volumeClaimTemplates:
    - metadata:
        name: elasticsearch-data
      spec:
        accessModes:
        - ReadWriteOnce
        resources:
          requests:
            storage: 5Gi
        storageClassName: elasticsearch

```

Also, can you format any output using ````output goes here````? It'll be much easier to read.

---

_[View the full topic](https://discuss.elastic.co/t/stuck-pending-elasticdeployment-pods/249384)._
