# Elastic operator upgrade

**URL:** <https://discuss.elastic.co/t/elastic-operator-upgrade/353255>\
**Category:** Elastic Search\
**Tags:** docker, elastic-app-search\
**Created:** [February 14, 2024, 10:36am UTC](https://discuss.elastic.co/t/elastic-operator-upgrade/353255 "2024-02-14T10:36:23Z")\
**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:** [February 14, 2024, 10:36am UTC](https://discuss.elastic.co/t/elastic-operator-upgrade/353255/1 "2024-02-14T10:36:23Z")

</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"}

```

Thank you in advance....

---

<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:** [March 13, 2024, 10:37am UTC](https://discuss.elastic.co/t/elastic-operator-upgrade/353255/2 "2024-03-13T10:37:18Z")

</div>

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