cloudstack-kubernetes-provider icon indicating copy to clipboard operation
cloudstack-kubernetes-provider copied to clipboard

Implement persistent volume support

Open onitake opened this issue 5 years ago • 1 comments

CloudStack can create, destroy, attach and detach persistent volumes to nodes in the form of data disks on primary storage.

These can be used as persistent volumes in Kubernetes, with some limitations:

  • A data disk can only be attached to one node at a time. This limits the Access Type to ReadWriteOnce.
  • Data disks need to be assigned a disk offering at creation time, which must exist in CloudStack and allow specifying a custom size. The offering should be selectable via the Storage Class.

The CCM framework currently contains an interface for fetching Labels for Persistent Volumes, but it is not entirely clear how this integrates with a cloud provider. It may be necessary to implement a separate storage provisioner. This provisioner could be standalone or interface with the cloud provider.

onitake avatar Jan 22 '20 20:01 onitake

There is now CSI driver for CloudStack. Do you think we can close this issue? https://github.com/apalia/cloudstack-csi-driver

joschi36 avatar May 18 '21 13:05 joschi36