# Is dynamic volume expansion supported by the operator?

**URL:** <https://discuss.elastic.co/t/is-dynamic-volume-expansion-supported-by-the-operator/272957>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [May 13, 2021, 8:52pm UTC](https://discuss.elastic.co/t/is-dynamic-volume-expansion-supported-by-the-operator/272957 "2021-05-13T20:52:13Z")\
**Posts on this page:** 4\
**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 13, 2021, 8:52pm UTC](https://discuss.elastic.co/t/is-dynamic-volume-expansion-supported-by-the-operator/272957/1 "2021-05-13T20:52:13Z")

</div>

Although there is a [merged](https://github.com/elastic/cloud-on-k8s/pull/3752) PR dedicated to volume expansion, the [documentation](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-upgrade-deployment.html) writes that this is not supported:

> You can add and modify most elements of the original cluster specification provided that they translate to valid transformations of the underlying Kubernetes resources (e.g., existing volume claims cannot be resized).

Is volume expansion supported or not by the operator?

---

<div class="post-metadata">

**Author:** ![BenB196](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/benb196/32/83401_2.png) [@BenB196](https://discuss.elastic.co/u/BenB196)\
**Post date:** [May 13, 2021, 10:52pm UTC](https://discuss.elastic.co/t/is-dynamic-volume-expansion-supported-by-the-operator/272957/2 "2021-05-13T22:52:31Z")

</div>

It's not well documented, but in this [line of the PR](https://github.com/elastic/cloud-on-k8s/pull/3752/files#diff-1f79371ebd508d8efa0dde0814ff5fdc3b51d0ab1b8b65521ae2207399c89cd6R33), it does mention that volume claims can only be increased.

One thing to note is to make sure the underlying volume provisioner (if using one), needs to also support volume expansion.

---

<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:** [May 14, 2021, 7:46am UTC](https://discuss.elastic.co/t/is-dynamic-volume-expansion-supported-by-the-operator/272957/3 "2021-05-14T07:46:40Z")

</div>

@pkaramol looks like we missed to update that sentence when we released the new functionality. I will update the docs.

In the meantime the documentation explaining the volume expansion feature can be found here: [Volume claim templates | Elastic Cloud on Kubernetes [1.5] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-volume-claim-templates.html)

---

<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 11, 2021, 7:47am UTC](https://discuss.elastic.co/t/is-dynamic-volume-expansion-supported-by-the-operator/272957/4 "2021-06-11T07:47:30Z")

</div>

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