gluster-csi-driver icon indicating copy to clipboard operation
gluster-csi-driver copied to clipboard

Heketi-based CSI driver

Open JohnStrunk opened this issue 5 years ago • 10 comments

Describe the feature you'd like to have. There should be a CSI driver that works with Heketi so that users who have not yet moved to GD2 can benefit from CSI.

What is the value to the end user? (why is it a priority?) The current gluster-file CSI driver is targeted at GD2, but many users have not started using gd2 in their environments. By having a CSI driver that targets Heketi, users can get the benefits of the standard CSI interface without also needing to migrate to the new gluster management daemon.

How will we know we have a good solution? (acceptance criteria)

  • The driver will support at least basic CSI functionality of (de-)provisioning & (un-)mounting.
  • The driver will build as a separate executable in a separate container from existing drivers so that it can be installed, upgraded, and patched independent of other CSI drivers in this repo.
  • There should be maximal sharing of code between this and the gd2 driver to gain benefits for bug elimination and testing.
  • The resulting code should not contain conditionals based on gd2 or heketi. Proper modularization and the separate entry points of the drivers should be sufficient to distinguish code paths.

Additional context

  • This driver and associated refactoring will be handled in a dedicated branch to be merged back periodically.
  • For CI testing, this depends on #53

JohnStrunk avatar Sep 26 '18 20:09 JohnStrunk