-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Support customizing the PVC size for internal PostgreSQL instance #20837
Comments
Hi. |
Some public cloud providers' cloud disk does not support 1Gi. The minimum storage size is 10Gi. Thus the PVC cannot be provisioned successfully. |
I see. Thank you! |
sync'd to Red Hat JIRA https://issues.redhat.com/browse/CRW-2548 |
Is your enhancement related to a problem? Please describe
No
Describe the solution you'd like
Now we hard-coded the PVC requests to 1Gi. It is better to support the custom size.
https://github.com/eclipse-che/che-operator/blob/b4930b5054c0bb951e8b3fcd5ab859a8eb671c7e/pkg/deploy/postgres/postgres.go#L78
I expect that the value should be configurable.
Describe alternatives you've considered
No response
Additional context
No response
Release Notes Text
CheCluster
CR now has adatabase.pvcClaimSize
field where administrators can specify a custom value for the database persistent volume. This is important because some public cloud providers' cloud disk does not support 1Gi, the minimum storage size is 10Gi.The text was updated successfully, but these errors were encountered: