You may have storage requirements such as persistent storage for application data, storage for sensitive and configuration data, and dynamic provisioning of storage resources when running workloads in ACK Serverless clusters. You can use the Container Storage Interface (CSI) plug-in to mount statically provisioned volumes and dynamically provisioned volumes to ACK Serverless clusters.
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 |
File Storage NAS | You can use the CSI plug-in to mount a statically provisioned NAS volume with a pair of PV and PVC. | 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, NAS file systems and OSS 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. |