# Requirement for volume expansion by the operator

**URL:** <https://discuss.elastic.co/t/requirement-for-volume-expansion-by-the-operator/273149>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [May 17, 2021, 9:20am UTC](https://discuss.elastic.co/t/requirement-for-volume-expansion-by-the-operator/273149 "2021-05-17T09:20:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkaramol](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pkaramol/32/22610_2.png) [@pkaramol](https://discuss.elastic.co/u/pkaramol)\
**Post date:** [May 17, 2021, 9:20am UTC](https://discuss.elastic.co/t/requirement-for-volume-expansion-by-the-operator/273149/1 "2021-05-17T09:20:07Z")

</div>

Does the feature of volume auto expansion requires a csi-compliant driver?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 17, 2021, 9:22am UTC](https://discuss.elastic.co/t/requirement-for-volume-expansion-by-the-operator/273149/2 "2021-05-17T09:22:44Z")

</div>

Can you elaborate a little more please, it's not clear what you are asking about in relation to Elasticsearch.

---

<div class="post-metadata">

**Author:** ![pkaramol](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pkaramol/32/22610_2.png) [@pkaramol](https://discuss.elastic.co/u/pkaramol)\
**Post date:** [May 17, 2021, 9:29am UTC](https://discuss.elastic.co/t/requirement-for-volume-expansion-by-the-operator/273149/3 "2021-05-17T09:29:58Z")

</div>

[This](https://github.com/elastic/cloud-on-k8s/pull/3752) PR introduced the option of expanding the underlying (PVC) volume of the statefulsets' nodes.

However, in k8s-terms, and if I am not mistaken, automatic volume expansion I think requires a [csi](https://kubernetes.io/blog/2019/01/15/container-storage-interface-ga/)-compliant storage class.

So I am asking whether the underlying storage class from which the PVCs of the statefulsets should be based on csi.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 17, 2021, 9:30am UTC](https://discuss.elastic.co/t/requirement-for-volume-expansion-by-the-operator/273149/4 "2021-05-17T09:30:26Z")

</div>

Ok given this is ECK specific, I have moved the topic.

---

<div class="post-metadata">

**Author:** ![sebgl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sebgl/32/48702_2.png) [@sebgl](https://discuss.elastic.co/u/sebgl)\
**Post date:** [May 17, 2021, 9:45am UTC](https://discuss.elastic.co/t/requirement-for-volume-expansion-by-the-operator/273149/5 "2021-05-17T09:45:27Z")

</div>

> So I am asking whether the underlying storage class from which the PVCs of the statefulsets should be based on csi.

The storage class needs to support volume expansion (`allowVolumeExpansion: true `). Whether the underlying volume driver is based on CSI or not does not matter much. I think a few cloud-provider storage classes are not based on CSI but still allow volume expansion.

---

<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:** [June 14, 2021, 9:45am UTC](https://discuss.elastic.co/t/requirement-for-volume-expansion-by-the-operator/273149/6 "2021-06-14T09:45:44Z")

</div>

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