You can use File Storage NAS (NAS) volumes in Container Service for Kubernetes (ACK) clusters. This topic describes the features, types, use scenarios, limits, and billing rules of NAS volumes.
Description
NAS is a file storage service provided by Alibaba Cloud that can be used for compute nodes such as Elastic Compute Service (ECS) instances, Elastic High-Performance Computing (E-HPC) instances, and ACK clusters. NAS is a distributed file storage system that provides shared access, scalability, high reliability, and high performance.
NAS uses Portable Operating System Interface of UNIX (POSIX)-based APIs and is compatible with native operating systems. NAS provides shared access, ensures data consistency, and implements mutual exclusion by using locks. NAS provides scalable file systems and allows simultaneous access to a NAS file system from multiple ECS instances. The storage capacity of a NAS file system automatically scales in or out when you add or remove files. NAS provides shared data sources for workloads and applications that run on multiple ECS instances or servers.
Storage types
NAS provides the following file system types: General-purpose Performance NAS file systems, General-purpose Premium NAS file systems, General-purpose Capacity NAS file systems, standard Extreme NAS file systems, and advance Extreme NAS file systems. For more information about how to select a NAS file system, see How do I select file systems?
Use scenarios
NAS provides shared storage. You can mount NAS file systems as statically provisioned volumes to meet the requirements of diverse scenarios.
In ACK Serverless clusters, you can mount only statically provisioned NAS volumes. Dynamically provisioned NAS volumes are not supported. For more information about how to mount statically provisioned NAS volumes, see Mount a statically provisioned NAS volume.
Precautions
File Storage NAS is a shared storage service. A persistent volume claim (PVC) that is used to mount a NAS file system can be shared among pods.
Do not delete the mount target if the related NAS file system is still mounted. Otherwise, the operating system hang may occur.
After a mount target is created, wait until the status of the mount target changes to Available.
We recommend that you use the NFSv3 file sharing protocol.
We recommend that you update FlexVolume to the latest version before you use NAS volumes.
Extreme NAS file systems support only NFSv3. You must specify the
nolockparameter when you mount Extreme NAS file systems.
Billing
For more information about the billing of NAS, see Billing of General-purpose NAS file systems.