Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to expand Persistence volume, and unable to change the storageClass for zookeeper cluster #540

Open
hoyhbx opened this issue Mar 29, 2023 · 0 comments

Comments

@hoyhbx
Copy link
Contributor

hoyhbx commented Mar 29, 2023

Description

(Describe the feature, bug, question, proposal that you are requesting)
We have a zookeeper cluster running, deployed with the operator.
Later we found that the storage is not enough and wish to expand the size of the storage.
So we changed the size of the Persistence volume claim, but the size is not updated.
We later also found that the storageClass cannot be updated neither.

Importance

(Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have))
Importance: should-have

Location

(Where is the piece of code, package, or document affected by this issue?)
The field in CRD is spec.persistence.spec.resources.requests.storage.
We found that the statefulSet never updates the PVC.

Suggestions for an improvement

Storage expansion and storageClass change should be supported.
Before they are implemented, any modification to the Persistence field in CR should be rejected.
We recommend to use the CEL feature of Kubernetes to encode the immunity of the field in the CRD

(How do you suggest to fix or proceed with this issue?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant