Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-8550

Provision additional VolumeSnapshotClass with snapshot-type: images in gcp-pd-csi-driver-operator

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Storage
    • None
    • None
    • Product / Portfolio Work
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      1. Proposed title of this feature request
      Provision additional VolumeSnapshotClass with snapshot-type: images in gcp-pd-csi-driver-operator

      2. What is the nature and description of the request?
      We would like to propose that the gcp-pd-csi-driver-operator automatically provisions a second VolumeSnapshotClass alongside the existing default one. This new class must include the specific parameter: snapshot-type: images.

      This class is distinct from the default snapshot class and is specifically required for when high-frequency restoration is needed (for example: in KubeVirt creating VMs from snapshotted images).

      Note: Snapshots utilizing snapshot-type: images are strictly limited to RWO sources, but restoring them to RWX Hyperdisks is possible.

      3. Why does the customer need this? (List the business requirements here)
      This requirement was raised while we were preparing KubeVirt for GA on GCP. Currently, standard GCP snapshots have a strict limitation: performing a snapshot restore is limited to 6 times per hour (for a single snapshot).

      This limitation blocks the KubeVirt use case of creating VMs from "Golden Images" (templates saved as snapshots), as users cannot spin up more than 6 VMs per hour from a single template.

      Google's recommended solution is to use a VolumeSnapshotClass with snapshot-type: images, which allows for an unlimited amount of restores per hour. We need the operator to provision this class automatically so our CDI code can consume it, providing a seamless experience without requiring customers to manually create or patch YAML files.

      4. List any affected packages or components.
      openshift/gcp-pd-csi-driver-operator

      additional Info:

      • Summary of Google's delivered efforts to support OpenShift virtualization can be foundĀ Here
      • A temporary manual workaround for KubeVirt is available here (please note that this doc is still WIP), but this RFE is required to eliminate the need for that manual intervention.

              rh-gs-gcharot Gregory Charot
              rh-ee-nassouli Noam Assouline
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                None
                None