CCE CSI PFS L2 Plugin
Component introduction
The CCE CSI PFS L2 Plugin facilitates mounting Baidu AI Cloud L2-type PFS storage in Pods via PV/PVC and supports the dynamic creation of PVs.
Component function
Containers, being inherently non-persistent, lose their data when deleted. Persistent volumes (volumes) resolve issues of data sharing and storage persistence for containers. Kubernetes provides PV (PersistentVolume) and PVC (PersistentVolumeClaim) API resources to abstract storage management details.
Using Baidu AI Cloud’s PFS L2 service, users can create PV and PVC resources in the cluster to mount PFS L2 as persistent volumes directly into containers. This simplifies the process of providing persistent storage solutions for container clusters without focusing on underlying implementation intricacies.
Prerequisites
- A PFS mount service has been created. For more details, please refer to PFS Mount Service
Usage restrictions
- For the list of OS and kernel versions supported by PFS L2, please refer to Usage Restrictions (Extreme L2 PFS)
Install component
- Sign in to the Baidu AI Cloud official website and enter the management console.
- Select Product Tour > Container > Baidu Container Engine and click to enter the CCE management console.
- Click Cluster Management > Cluster List in the left navigation bar.
- Click on the target cluster name in the Cluster List page to navigate to the cluster management page.
- On the Cluster Management page, click O&M & Management > Component Management.
- In the component management list, select the CCE CSI PFS L2 Plugin component and click Install, then complete the relevant configurations in the pop-up box.
| ConfigMap | Required/Optional | Configuration |
|---|---|---|
| Associated mount service | Required | Specify the PFS mount service associated with the component. The mount service must be within the same VPC as the cluster. Once mounted, the cluster gains access to the PFS instance bound to the mount service. |
- Click the OK button to complete the component installation.
Deployment status
After installing the CCE CSI PFS L2 Plugin component, the following objects will be deployed in the Kubernetes cluster:
| Object name | Belonging to namespace | Resource usage | Types |
|---|---|---|---|
| cce-csi-pfsl2-plugin-attacher | kube-system | - | Deployment |
| cce-csi-pfsl2-plugin-operator | kube-system | - | Deployment |
| cce-csi-pfsl2-plugin-provisioner | kube-system | - | Deployment |
| cce-csi-pfsl2-plugin-resizer | kube-system | - | Deployment |
| cce-csi-pfsl2-plugin-snapshotter | kube-system | - | Deployment |
| cce-csi-pfsl2-plugin | kube-system | CPU:20m;Memory:20Mi | DaemonSet |
| cce-csi-pfsl2-plugin-cce-reserved | kube-system | - | ConfigMap |
Version records
| Version No. | Cluster version compatibility | Update time | Update content | Impact |
|---|---|---|---|---|
| 1.0.8 | CCE/1.18+ | 2025.04.15 | Support mounting multiple PFS instances in a cluster | - |
| 1.0.7 | CCE/1.18+ | 2025.03.14 | Support PFS in the Chengdu region | - |
| 1.0.6 | CCE/1.18+ | 2024.12.13 | Support using hostname as nodeName for mounting | - |
| 1.0.5 | CCE/1.18+ | 2024.10.11 | Fix the occasional issue where the kubelet root dir soft link clears the data directory | - |
| 1.0.4 | CCE/1.18+ | 2024.08.28 | New Functions: Optimize |
- |
| 1.0.3 | CCE/1.18+ | 2024.07.08 | Optimize region parameters for interaction with PFS | - |
| 1.0.2 | CCE/1.18+ | 2024.05.16 | Optimize the plugin interaction process and launch it in the component center | - |
| 1.0.1 | CCE/1.18+ | 2023.12.06 | Add StorageClass parameters | - |
| 1.0.0 | CCE/1.18+ | 2023.11.30 | First release of the PFS L2 CSI | - |
