All Products
Search
Document Center

Container Service for Kubernetes:CNFS overview

最終更新日:Nov 19, 2024

Traditional shared file systems do not support 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. To solve these issues, Container Service for Kubernetes (ACK) provides Container Network File System (CNFS) to improve the performance of File Storage NAS (NAS) and Object Storage Service (OSS) volumes and support quality of service (QoS). This topic describes the features, storage types, use scenarios, limits, and billing of CNFS.

Features

CNFS allows ACK to create, delete, describe, mount, monitor, and scale individual file stores of Alibaba Cloud by using Kubernetes CustomResourceDefinitions (CRDs). CRDs are easy to use and can improve the performance of file stores and enhance data security. CRDs also help manage container-consistent persistent volume claims (PVCs).

Feature

CNFS version

Enable

Recycle bin

  • You can recover accidentally deleted files from the recycle bin. For more information about the billing rules of the recycle bin feature and the required permissions, see the Usage notes section of the "Recycle bin" topic.

  • The recycle bin can be disabled and cleared. For more information about how to disable and clear the recycle bin, see the Related operations section of the "Recycle bin" topic.

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 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 PVCs. For more information about how to use the volume monitoring feature, see Use csi-plugin to monitor storage resources on the node side.

This feature is enabled after you install Managed Service for Prometheus.

Lifecycle management

This feature allows you to manage 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

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

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 only supports ACK Pro clusters 1.20 or later.

Usage notes

Billing

  • 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 the Usage notes section of the "Recycle bin" topic.

  • For more information about the billing rules of OSS, see OSS Billing overview.

References