Overview¶
To achieve persistent storage, CCE allows you to mount the storage volumes created from Elastic Volume Service (EVS) disks to a path of a container. When the container is migrated within an AZ, the mounted EVS volumes are also migrated. By using EVS volumes, you can mount the remote file directory of a storage system to a container so that data in the data volume is permanently preserved. Even if the container is deleted, the data in the data volume is still stored in the storage system.
EVS Disk Performance Specifications¶
EVS performance metrics include:
IOPS: the number of input/output operations performed by an EVS disk per second
Throughput: the amount of data read from and written into an EVS disk per second
I/O latency: the minimum interval between two consecutive I/O operations on an EVS disk
Parameter | General Purpose SSD | Ultra-high I/O | High I/O |
---|---|---|---|
Max. capacity (GiB) |
|
|
|
Max. IOPS | 20,000 | 50,000 | 5000 |
Max. throughput (MiB/s) | 250 | 350 | 150 |
Burst IOPS limit | 8000 | 16,000 | 5000 |
Disk IOPS | Min. (20,000, 1800 + 12 x Capacity) | Min. (50,000, 1800 + 50 x Capacity) | Min. (5000, 1800 + 8 x Capacity) |
Disk throughput (MiB/s) | Min. (250, 100 + 0.5 x Capacity) | Min. (350, 120 + 0.5 x Capacity) | Min. (150, 100 + 0.15 x Capacity) |
Single-queue access latency (ms) | 1 | 1 | 1-3 |
API name | GPSSD | SSD | SAS |
Application Scenarios¶
EVS disks can be mounted in the following modes based on application scenarios:
Using an Existing EVS Disk Through a Static PV: static creation mode, where you use an existing EVS disk to create a PV and then mount storage to the workload through a PVC. This mode applies if the underlying storage is available.
Using an EVS Disk Through a Dynamic PV: dynamic creation mode, in which you do not need to create EVS volumes beforehand. Instead, specify a StorageClass when creating a PVC. Then, an EVS volume and PV will be created automatically. This mode applies to scenarios where no underlying storage is available.
Dynamically Mounting an EVS Disk to a StatefulSet: available only for StatefulSets. In this mode, each pod is associated with a unique PVC and PV. After a pod is rescheduled, the original data can still be mounted to it based on the PVC name. This mode applies to StatefulSets with multiple pods.