Traditional shared file systems lack precise control of storage resource quotas, recovery of accidentally deleted data, monitoring metrics about volume capacities and performance statistics, and encryption algorithms. In addition, the latency of reading or writing small-sized files is high. Container Service for Kubernetes (ACK) releases Container Network File System (CNFS) to improve the performance of Apsara File Storage NAS (NAS). This topic describes the features, storage types, use scenarios, limits, and billing rules of CNFS.
CNFS allows ACK to create, delete, describe, mount, monitor, and scale individual file stores of Alibaba Cloud by using Kubernetes CustomResourceDefinition (CRD) objects.
|Recycle bin||By default, this feature is enabled. The retention period of the data in the recycle bin is 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 Expand a NAS volume.||By default, this feature is enabled.|
|Volume monitoring||This feature allows you to monitor the usage and I/O performance of volumes, including persistent volume claims (PVCs). For more information about how to use the volume monitoring feature, see Use csi-plugin to monitor storage resources at the node side.||This feature is enabled after you install Application Real-Time Monitoring Service (ARMS) Prometheus.|
|Lifecycle management||This feature allows you to manage the lifecycles of Apsara File Storage NAS (NAS) file systems and Object Storage Service (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 disruption||Hot updates for volume drivers are supported.||By default, this feature is enabled.|
|End-to-end data acceleration||You can use the CNFS client to mount volumes to increase read speeds. For more information, see Enable the distributed caching feature of the CNFS client.||By default, this feature is disabled. To enable this feature, you must configure specific parameters.|
|QoS||This feature allows you to modify the size of the local cache, the size of cached metadata, the upper limit of input/output operations per second (IOPS), and the upper limit of throughput. For more information, see Enable the distributed caching feature of the CNFS client.||The default size of the local cache is 128 MB. By default, the size of cached metadata, IOPS, and throughput are not limited.|
Some advanced CNFS features, such as the recycle bin, resource quotas, and lifecycle management, can be configured only in the NAS console.
NAS provides the following file system types: General-purpose NAS Capacity, General-purpose NAS Performance, and Extreme NAS. For more information, see NAS types.
- CNFS simplifies the procedure of mounting NAS volumes. Compared with using PVCs, you do not need to frequently switch between the NAS console and ACK console when you use CNFS to mount a NAS volume. This reduces the operations to mount a NAS volume and improves the success rate of mounting a NAS volume. For more information, see Use CNFS to manage NAS file systems.
- You can use expansion policies to enable auto expansion of NAS volumes when the capacity usage exceeds specific thresholds. For more information, see Use CNFS to automatically expand NAS volumes.
- You can use the recycle bin feature of CNFS to restore accidentally deleted files. For more information, see Use the recycle bin feature to restore data.
- For more information about the billing rules of NAS, see NAS billing overview.
- For more information about the billing rules of the recycle bin feature, see Billing.