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:
- For clusters that have FlexVolume installed but no data is stored, we recommend that you use the Container Storage Interface (CSI) plug-in instead. For more information, see Upgrade from FlexVolume to CSI for clusters where no data is stored.
- For other clusters, join the DingTalk group 35532895 for support.
ACK supports statically provisioned volumes and dynamically provisioned volumes. The following table describes the details of the supported volumes.
|Alibaba Cloud storage service||Statically provisioned volume||Dynamically provisioned volume|
|Disk||Disks 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.|
|NAS||You can statically provision a NAS volume in the following ways:||NAS file systems can be mounted and used as dynamic provisioned volumes.|
|OSS||OSS 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.|