All Products
Search
Document Center

Container Service for Kubernetes:NAS volume overview

Last Updated:Feb 07, 2024

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 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

  • Apsara 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 nolock parameter when you mount Extreme NAS file systems.

Billing

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