Updated on 2025-06-13 GMT+08:00

Storage

Container storage in CCE clusters is implemented using the Kubernetes Container Storage Interface (CSI), integrating multiple cloud storage services like EVS, Scalable File Service (SFS), and OBS, while always ensuring compatibility with native Kubernetes storage solutions such as emptyDir. This setup provides efficient, flexible storage for stateful applications, AI training, and various other scenarios.

Storage Types

For the storage media, it can be cloud storage or local storage.

  • Cloud storage
    • EVS provides highly reliable, high-performance, scalable block storage for ECSs. EVS disks function similarly to hard disks on a PC.
    • SFS offers high-performance file storage (NAS) that can be expanded on demand. It is like the remote directory in Windows or Linux and allows shared access for multiple cloud services, such as ECS, BMS, and CCE.
    • SFS Turbo delivers a shared file storage system, built on dedicated computing and storage resource pools. This design ensures physical isolation from public tenant resources while meeting specific performance, application, and security compliance requirements.
    • OBS provides massive, secure, highly reliable, cost-effective data storage, allowing storage of any type and size of data.
    • Dedicated Distributed Storage Service (DSS) provides dedicated physical storage resources. With multiple technologies like data redundancy and cache acceleration, DSS delivers highly reliable, durable, low-latency, stable storage resources.
  • Local storage
    • emptyDir volumes are a native Kubernetes storage type where the storage lifecycle matches that of the containers. Memory can be specified as the storage medium.
    • hostPath volumes mount a directory of the host where a container is located to the specified mount point of the container.
    • Local PVs use local node data disks to form a storage pool (VolumeGroup) through Logical Volume Manager (LVM), then assign logical volumes (LVs) for pods to mount.
    • Local Ephemeral Volumes (EVs) are based on the native emptyDir volumes of Kubernetes. Local node data disks form a storage pool (VolumeGroup) through LVM. LVs are created as the storage medium of emptyDir and mounted to pods. LVs deliver better performance than the default storage medium of emptyDir.