Container Network File System (CNFS) abstracts Apsara File Storage NAS (NAS) into a Kubernetes Custom Resource Definition (CRD), improving the performance of NAS volumes and providing Quality of Service (QoS) control. With CNFS, you can share NAS volumes across pods, manage isolated volumes, and automatically scale out storage.
When to use which feature
| I want to... | Feature |
|---|---|
| Create, mount, monitor, or delete NAS file systems from within Kubernetes | Manage NAS file systems using CNFS |
| Automatically expand a NAS persistent volume when its usage exceeds a specified threshold | Automatically scale out NAS volumes using CNFS |
| Recover files that were accidentally deleted from a NAS volume | Recover NAS file data using the recycle bin |
Features
Manage NAS file systems using CNFS
CNFS abstracts NAS file systems as Kubernetes objects, letting you create, delete, mount, monitor, and scale out file systems through standard Kubernetes workflows. Use CNFS to manage NAS file systems independently to improve their performance and Quality of Service (QoS). Set up your NAS file systems here before enabling auto scale-out or recycle bin features.
Automatically scale out NAS volumes using CNFS
Define a scale-out policy on a CNFS-managed NAS persistent volume. When volume usage exceeds the threshold you specify, CNFS automatically expands the volume — no manual intervention required. Use this feature for workloads with unpredictable or growing storage demands.
Recover NAS file data using the recycle bin
CNFS includes a recycle bin that retains deleted files so you can restore them if needed. This topic uses an NGINX application that has Internet access as an example.