Uploaded image for project: 'OpenShift Storage'
  1. OpenShift Storage
  2. STOR-746

CSI Inline Volume Support with admission plugin

    XMLWordPrintable

Details

    • Storage: CSI Inline Volume Support
    • 3
    • Storage
    • Green
    • In Progress
    • OCPSTRAT-514 - Ephemeral in-line volumes
    • OCPSTRAT-514Ephemeral in-line volumes
    • 100
    • 100% 100%

    Description

      Goal: 

      The goal is to provide inline volume support (also known as Ephemeral volumes) via a CSI driver/operator. This epic also track the dev of the new admission plugin required to make inline volumes safe.

       

      Problem: 

      • The only practical way to extend pods such that node local integrations can happen is with inline volumes. So if we want to integrate with IAM for per pod credentials, we need inline csi volumes. If we want to do better build cache integration, we need inline csi. 

       

      Why is this important: 

      • (from https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html) Traditionally, volumes that are backed by CSI drivers can only be used with a PersistentVolume and PersistentVolumeClaim object combination. This feature will support ephemeral storage use cases and allows CSI volumes to be specified directly in the pod specification. At runtime, nested inline volumes follow the ephemeral lifecycle of their associated pods where the driver handles all phases of volume operations as pods are created and destroyed.
      • Vault integration can be implemented via in-line volumes (see https://github.com/deislabs/secrets-store-csi-driver/blob/master/README.md).
      • Inline volumes would allow us to give out tokens for cloud integration and nuke cloud credential operator’s use of secrets.
      • In OpenShift we already have Shared Resource CSI driver, which uses in-line CSI volumes to distribute cluster-wide secrets and/or config maps.

       

      Dependencies (internal and external):

      • CSI API

       

      Prioritized epics + deliverables (in scope / not in scope):

      • In Scope
        • A working CSI based inline volume
        • Documentation
        • Admision plugin
      • Not in Scope
        • Implementing the use cases for inline volumes (i.e. integration with IAM)

      Estimate (XS, S, M, L, XL, XXL):

       

      Previous Work:

      Customers:

      Open questions:

       

      Notes:

       

      Attachments

        Issue Links

          Activity

            People

              jdobson@redhat.com Jonathan Dobson
              rhn-engineering-jsafrane Jan Safranek
              Penghao Wang Penghao Wang
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 3 weeks
                  3w
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week Time Not Required
                  1w