Container Service for Kubernetes (ACK) provides Container Network File System (CNFS) to extend File Storage NAS (NAS) and Object Storage Service (OSS) volumes with quality of service (QoS), quota control, recycle bin, monitoring, encryption, and accelerated small-file I/O.
Features
CNFS manages individual Alibaba Cloud file storage instances through Kubernetes Custom Resource Definitions (CRDs), supporting create, delete, describe, mount, monitor, and scale operations. This improves storage performance, enhances data security, and provides Kubernetes-style declarative management.
Feature | CNFS version | Enable |
Recycle bin |
| By default, this feature is enabled. The data in the recycle bin can be retained for seven days. |
Resource quotas | Storage resource quotas. You can dynamically increase the quota limits. For more information about how to use the storage resource quotas, see Use CNFS to auto-scale NAS volumes. | By default, this feature is enabled. |
Volume monitoring | This feature monitors volume usage and I/O performance, including persistent volume claims (PVCs). For more information about how to use the volume monitoring feature, see Overview of container storage monitoring. | This feature is enabled after you install Managed Service for Prometheus. |
Lifecycle management | This feature manages the lifecycles of NAS file systems and OSS buckets. | By default, this feature is enabled. |
Resource protection | This feature prevents users from accidentally deleting the entire file system. | By default, this feature is enabled. |
Updates without service disruptions | Hot updates for volume drivers are supported. | By default, this feature is enabled. |
End-to-end data acceleration | Mount volumes using the Elastic File Client (EFC) client. For instructions, see Mount NAS via EFC client with CNFS. | By default, this feature is disabled. To enable this feature, you must configure specific parameters. |
QoS | This feature supports configurable local cache size, cached metadata size, input/output operations per second (IOPS) limit, and throughput limit. For more information, see Enable the distributed caching feature of the CNFS client. | The default local cache size is 128 MB. Cached metadata size, IOPS, and throughput have no default limit. |
Some advanced CNFS features, such as the recycle bin, resource quotas, and lifecycle management, can be configured only in the NAS console.
Storage 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.
Limits
CNFS supports only ACK Pro clusters 1.20 or later.
Usage notes
CNFS simplifies NAS volume mounting. Unlike the PVC workflow, CNFS does not require switching between the NAS console and the ACK console for each mount. See Use CNFS to manage NAS file systems.
You can use expansion policies to enable auto expansion for NAS volumes when the capacity usage exceeds specific thresholds. See Use CNFS to auto-scale NAS volumes.
You can use the recycle bin feature to restore accidentally deleted files. See Restore deleted NAS files with the CNFS Recycle Bin.
Billing
For billing rules of NAS, see NAS Billing overview.
For billing rules of the recycle bin feature, see the Billing and permissions section.
For billing rules of OSS, see OSS Billing overview.
References
For how to use CNFS to manage NAS file systems, see Manage NAS lifecycle.
For how to use CNFS to manage OSS buckets, see Manage the lifecycle of OSS buckets.