Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-2548

Support customizing the PVC size of the internal PostgreSQL

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.14.0.GA
    • 2.14.0.GA
    • docs
    • False
    • False
    • Hide
      = New `database.pvcClaimSize` field in the `CheCluster` CR

      With this update, the `CheCluster` custom resource gains the `database.pvcClaimSize` field. Using this new field, {prod-short} administrators can enter a custom value for the size of the database persistent volume to align it with the storage size supported by a public cloud provider.
      Show
      = New `database.pvcClaimSize` field in the `CheCluster` CR With this update, the `CheCluster` custom resource gains the `database.pvcClaimSize` field. Using this new field, {prod-short} administrators can enter a custom value for the size of the database persistent volume to align it with the storage size supported by a public cloud provider.

      Synced from Eclipse Che issue

      https://github.com/eclipse/che/issues/20837

      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 a database.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.

            Unassigned Unassigned
            jiralint.codeready Bot Codeready
            Max Leonov Max Leonov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: