# Error":"handle volume expansion: volume claim templates can only have their storage requests increased, if the storage class allows volume expansion. Any other change is forbidden"

**URL:** <https://discuss.elastic.co/t/error-handle-volume-expansion-volume-claim-templates-can-only-have-their-storage-requests-increased-if-the-storage-class-allows-volume-expansion-any-other-change-is-forbidden/356679>\
**Category:** Elasticsearch\
**Tags:** runtime-fields\
**Created:** [April 3, 2024, 12:34pm UTC](https://discuss.elastic.co/t/error-handle-volume-expansion-volume-claim-templates-can-only-have-their-storage-requests-increased-if-the-storage-class-allows-volume-expansion-any-other-change-is-forbidden/356679 "2024-04-03T12:34:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sagarbud](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sagarbud/32/133229_2.png) [@sagarbud](https://discuss.elastic.co/u/sagarbud)\
**Post date:** [April 3, 2024, 12:34pm UTC](https://discuss.elastic.co/t/error-handle-volume-expansion-volume-claim-templates-can-only-have-their-storage-requests-increased-if-the-storage-class-allows-volume-expansion-any-other-change-is-forbidden/356679/1 "2024-04-03T12:34:10Z")

</div>

Hello All,

I have 12 node elastic cluster(7.4.2) on GKE K8s cluster. Also, I have installed elastic operator. But when I upgrade elastic operator from 1.0.0-beta to 2.4.0, it gives below error. To upgrade elastic operator, I have removed the elastic cluster from elastic operator's management. Then, I have upgraded elastic-search operator. Elastic search operator was upgraded successfully. But When i rejoin the elastic cluster to elastic operator management, it gives below error. As per the error, I have already allowed volume expansion in storage class which i have used in Elasticsearch cluster.

Can you please provide me the advice to resolve the issue?

```auto
error":"handle volume expansion: volume claim templates can only have their storage requests increased, if the storage class allows volume expansion. Any other change is forbidden","errorCauses":[{"error":"handle volume expansion: volume claim templates can only have their storage requests increased, if the storage class allows volume expansion. Any other change is forbidden"}],"error.stack_trace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/internal/controller/controller.go:274\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/internal/controller/controller.go:235"}

```

---

<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 1, 2024, 12:34pm UTC](https://discuss.elastic.co/t/error-handle-volume-expansion-volume-claim-templates-can-only-have-their-storage-requests-increased-if-the-storage-class-allows-volume-expansion-any-other-change-is-forbidden/356679/2 "2024-05-01T12:34:49Z")

</div>

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