You can use the Container Storage Interface (CSI) plug-in to mount Alibaba Cloud disks and Apsara File Storage NAS (NAS) file systems as volumes to ACK Serverless clusters. This topic introduces the CSI plug-in and describes the volumes that are supported by the CSI plug-in.
Volumes supported by the CSI plug-in
The CSI plug-in supports statically provisioned volumes and dynamically provisioned volumes. The following table describes the types of volumes that different storage services support.
Alibaba Cloud storage service | Statically provisioned volume | Dynamically provisioned volume |
Alibaba Cloud disks | You can use the CSI plug-in to mount a statically provisioned disk volume with a pair of persistent volume (PV) and persistent volume claim (PVC). | Supported |
Apsara File Storage NAS | You can use the CSI plug-in to mount a statically provisioned NAS volume with a pair of PV and PVC. | Not supported |
Alibaba Cloud OSS | You can use the CSI plug-in to mount a statically provisioned OSS volume with a pair of PV and PVC. | Not supported |
We recommend that you use the CSI plug-in in newly created ACK Serverless clusters. ACK Serverless cluster will continuously update the CSI plug-in to support more features that are provided by the open source version of CSI.
The regions that are supported by the CSI plug-in are the same as the regions that are available for Kubernetes 1.16. For more information, see Supported regions.
CSI
The Kubernetes community recommends the CSI plug-in. The CSI plug-in that is used in ACK Serverless clusters supports the features provided by the open source version of CSI. The CSI plug-in consists of two components: CSI-Plugin and CSI-Provisioner. For more information, see alibaba-cloud-csi-driver.
Component | Feature | How to install |
CSI-Plugin | Allows you to mount and unmount volumes. By default, ACK Serverless cluster allows you to mount Alibaba Cloud disks and NAS file systems as volumes. | CSI-Plugin is automatically installed by default. |
CSI-Provisioner | Allows ACK Serverless cluster to automatically create disk volumes. | For more information about how to install CSI-Provisioner, see Install and update csi-provisioner. |