All Products
Search
Document Center

File Storage NAS:Mount a NAS file system on a self-managed Kubernetes cluster

Last Updated:Dec 13, 2024

File Storage NAS (NAS) allows you to mount a NAS file system on a self-managed Kubernetes cluster by using the Container Storage Interface (CSI) plug-in provided by Alibaba Cloud, a built-in Kubernetes volume, or a CSI plug-in. Select an appropriate plug-in to mount NAS file systems based on your business requirements.

Plug-in selection

Plug-in

Description

CSI plug-in provided by Alibaba Cloud (recommended)

Alibaba Cloud Container Service for Kubernetes (ACK) is integrated with the storage services provided by Alibaba Cloud, and is compatible with Kubernetes-native storage services. You can deploy the CSI plug-in in ACK clusters to use Alibaba Cloud storage services. You can register clusters that are deployed in data centers or clusters that are deployed on a third-party cloud to Alibaba Cloud Distributed Cloud Container Platform (ACK One). This way, you can create clusters in a hybrid cloud environment and manage clusters in a centralized manner.

Disk volumes, NAS volumes, Object Storage Service (OSS) volumes, and local volumes can be automatically mounted on pods in ACK clusters. For more information, see (Recommended) Mount a NAS file system by using the CSI plug-in provided by Alibaba Cloud.

Volume

Volumes are built-in Kubernetes volumes, which provide good compatibility and are easy to use. If you do not want to use the CSI plug-in provided by Alibaba Cloud, we recommend that you mount a NAS file system by using a built-in Kubernetes volume. For more information, see Mount a NAS file system by using a volume.

CSI plug-in

The CSI plug-in is an open source component and is generally applicable to Kubernetes clusters in the initial state. For more information, see Mount a NAS file system by using a manually installed CSI plug-in.

Important

Alibaba Cloud does not guarantee the versions, security, and accuracy of CSI plug-ins. Alibaba Cloud is not liable for any damage caused during the use of CSI plug-ins. We recommend that you select an appropriate plug-in to mount NAS file systems based on your business requirements.