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

Enable volumeSnapshot quota depending on the volumeSnapshotClasses

XMLWordPrintable

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

      1. Enable volumeSnapshot quota depending on the volumeSnapshotClasses
      2. The customer wants to define the number of snapshot depending on the volumeSnapshotClasses
      3.
      Currently is possible to create a custom resource quota regarding snapshots in OCP as we can see in the following KCS [1]. But it is not possible to define the number of snapshot depending on the volumeSnapshotClasses.

      We would like to create a new RFE in order to define this kind of flexibility when creating resource limits. So, the main idea instead of computing the number of snapshots would be:

      • To be able to allow X number of snapshots for RBD volumes.
      • To be able to allow Y number of snapshots for CephFS volumes.

      Something similar as it is possible to do using storage quotas where we can specify different quotas depending on the storage class used:

      apiVersion: v1
      kind: ResourceQuota
      metadata:
      name: testing-quota
      namespace: testing-quota
      spec:
      hard:
      ocs-storagecluster-ceph-rbd.storageclass.storage.k8s.io/persistentvolumeclaims: "2"
      ocs-storagecluster-cephfs.storageclass.storage.k8s.io/persistentvolumeclaims: "5"

      [1]
       

      https://access.redhat.com/solutions/5973781

      4. ODF/OCS operator (https://bugzilla.redhat.com/show_bug.cgi?id=1964450)

              rh-gs-gcharot Gregory Charot
              muagarwa Mudit Agarwal
              None
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                None
                None