Volcengine Kubernetes Engine
StorageClass type | Description | Application scenarios |
StorageClass type | Description | Application scenarios |
Cloud storage | Volcano Engine cloud storage services. They allow data to be stored in the cloud for centralized management and elastic expansion. When creating a Pod, you only need to declare storage requirements and capacity via a PersistentVolumeClaim (PVC) or PersistentVolume (PV), and the CSI plugin will automatically connect to the cloud storage. This eliminates the need for manual configuration of underlying resources. | Suitable for data that needs to be highly available or shared. For example, logs and media resources. |
Local storage | Local storage media (local disks, SSDs, and node memory). Data is not accessed over the network, but is read from and written directly to the local disks or node memory. The data access path is short, offering low latency and high performance. | Suitable for scenarios where high IO and low latency are critical, and data availability is not a priority. |
Kubernetes resource object | Kubernetes-native resource objects, such as ConfigMaps and Secrets. | ConfigMaps are mainly used to mount configuration files for Pods. Secrets are mainly used to deliver sensitive information to Pods, such as account credentials, certificates, or environment variables. |
StorageClass type | Service overview | Usage methods | Capacity and performance | Static PVs | Dynamic PVs | Application scenarios |
StorageClass type | Service overview | Usage methods | Capacity and performance | Static PVs | Dynamic PVs | Application scenarios |
DMC | A storage solution that implements unified storage management, data orchestration, and data mobility. It encapsulates various storage services behind a unified access point to enable centralized storage management. For details, see DMC. | It supports mounting via the FSX protocol, with PVs mapped as local directories within Pods for access. | N/A. | Not supported. | Unified management of multiple storage types. It provides a global view of your data assets and streamlines management access. | |
EBS | EBS offers highly available, highly reliable, high-performance, elastically scalable block storage devices. These block devices can serve as extended storage for Pods. For more information, see EBS. | It supports direct mounting. Volumes can be mapped to local directories of Pods for data storage and access. | I/O-intensive applications, relational databases, NoSQL databases, development and testing, and more. | |||
Torch Object Storage (TOS) | A large-capacity, secure, cost-effective, easy-to-use, highly reliable, and highly available distributed cloud storage service. Data stored on TOS is accessible and manageable over the network from any application, anywhere, and anytime. For more information, see TOS. | Data can be accessed over HTTPS by using multiple access methods, such as RESTful APIs, SDKs, and tools. | N/A. | Not supported. | Origin sites for VoD, audio and video live streaming, video monitoring, machine learning, autonomous driving, and more. | |
NAS | A high-performance, cost-effective cloud file storage service with shared access, continuous online availability, elastic scalability, and cross-region access for elastic computing, containers, and AI applications. For more information, see FileNAS. | It can be mounted via different network protocols (FSX and NFS), and allows data access after volumes are mapped to the local directories of Pods. | High-performance computing, AI-driven data processing, container storage, and more. | |||
EFS | A new-generation cloud-native elastic file storage service, designed for AI scenarios while also compatible with traditional NAS requirements. It can seamlessly connect to various AI training and inference frameworks, Linux systems, and applications, and provides the same usage experience as local file systems. For more information, see EFS. | It can be mounted via different network protocols (FSX and NFS), and allows data access after volumes are mapped to the local directories of Pods. | Supported. For details, see Using static EFS PVs via the FSX client and Using static EFS PVs via NFS. | Supported. For details, see Using dynamic EFS PVs via NFS and Accessing dynamic EFS PVs through the FSX client. | Data storage for intelligent driving, integrated training and inference, and traditional file storage and sharing. | |
vePFS | A high-throughput, low-latency, scalable parallel file system service that meets read/write throughput and latency requirements in high-performance computing scenarios. For details, see vePFS. | It can be mounted via different network protocols (FSX, vePFS Client, and NFS), and allows data access after volumes are mapped to the local directories of Pods. | Large model training, autonomous driving, high-performance computing, and AI-driven data processing. | |||
CloudFS | A file storage and acceleration service designed for the big data and machine learning ecosystem. It supports standard HDFS access and transparent data lake access. It provides low-cost, high-performance, high-throughput, and highly available big data access. For more information, see CloudFS. | It supports direct mounting. Volumes can be mapped to local directories of Pods for data storage and access. | N/A. | Not supported. | Traditional Hadoop ecosystem, data lake analysis, machine learning training, and more. |
Comparison dimension | Local volumes | Temporary path (EmptyDir) | Host path (HostPath) |
Comparison dimension | Local volumes | Temporary path (EmptyDir) | Host path (HostPath) |
Basic knowledge | The local data disks of nodes are formed into a storage pool (VolumeGroup) by the Logical Volume Manager (LVM), and then logical volumes (LVs) are mounted to container instances. | It is the native EmptyDir type of Kubernetes, whose lifecycle is consistent with that of a container instance. It supports specifying memory as the storage medium. When the container instance is deleted, the EmptyDir is deleted synchronously, and the data stored in it is permanently deleted. | It mounts the file directory of the host machine where the container runs to the specified mount point inside the container. |
Main characteristics | Persistent volumes that deliver low latency and high IO, but not high availability. | Local temporary volumes, whose storage space comes from the local kubelet root directory or memory. | It mounts a file or directory from the file system on a node. It supports automatic creation of host directories and allows Pod migration (not bound to nodes). |
Usage methods | - | - | |
Application scenarios | Suitable for scenarios where high IO and low latency are critical, and data availability is not a priority. |
|
warning HostPath volumes pose many security risks. The best practice is to avoid using HostPath whenever possible. When HostPath volumes are necessary, their scope should be limited to the required files or directories only, and they should be mounted in read-only mode. |