You can use Apsara 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.

Features

NAS is a cloud service that provides a file storage solution for compute nodes, such as Elastic Compute Service (ECS) instances, nodes in Elastic High-Performance Computing (E-HPC) clusters, and nodes in ACK clusters. NAS is a distributed file storage solution 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 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.

NAS file system types

NAS provides the following file system types: General-purpose NAS Capacity, General-purpose NAS Performance, and Extreme NAS. For more information, see NAS types.

Use scenarios

  • NAS provides shared storage. You can mount NAS file systems as statically provisioned volumes to meet the requirements of diverse scenarios.
  • In serverless Kubernetes (ASK) 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

  • NAS provides shared storage. A persistent volume claim (PVC) that is mounted with 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 NFSv3.
  • We recommend that you upgrade FlexVolume to the latest version before you use NAS volumes.
  • Extreme NAS file systems support only NFSv3. You must specify the nolock parameter when you mount the file systems.

Billing

For more information about the billing rules of NAS, see NAS billing.