Container Service for Kubernetes (ACK) clusters can be automatically bound to Alibaba Cloud disks, Apsara File Storage NAS (NAS) file systems, and Object Storage Service (OSS) buckets that are mounted to pods. This topic describes the storage services that are supported by ACK and how to use the services.

Important No FlexVolume versions later than 1.18 will be provided. FlexVolume is deprecated in newly created Container Service for Kubernetes (ACK) clusters that run Kubernetes 1.20 or later. For existing clusters that use FlexVolume, you can use the following methods to deal with the FlexVolume deprecation:

ACK supports statically provisioned volumes and dynamically provisioned volumes. The following table describes the details of the supported volumes.

Alibaba Cloud storage serviceStatically provisioned volumeDynamically provisioned volume
DiskDisks can be mounted and used as statically provisioned volumes by creating persistent volumes (PVs) and persistent volume claims (PVCs).Disks can be mounted and used as dynamically provisioned volumes.
NASYou can statically provision a NAS volume in the following ways:
  • Use FlexVolume and create a PV and PVC.
  • Use the Network File System (NFS) driver
NAS file systems can be mounted and used as dynamic provisioned volumes.
OSSOSS buckets can be mounted and used as statically provisioned volumes by creating PVs and PVCs.OSS buckets cannot be mounted and used as dynamically provisioned volumes.