CCE CSI CDS Plugin Description
Component introduction
The CCE CSI CDS Plugin enables Baidu AI Cloud CDS storage to be mounted in Pods using 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 CDS service, users can create PV and PVC resources in the cluster to directly mount CDS as persistent volumes into containers, simplifying the implementation of persistent storage solutions for container clusters.
Install component
- Sign in to the Baidu AI Cloud official website and enter the management console.
- Select Product Tour - Containers - Baidu Container Engine and click to enter the CCE management console.
- Click Cluster Management - Cluster List in the left navigation pane.
- 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 CDS Plugin component and click Install, then complete the relevant configurations in the pop-up box.
| ConfigMap | Required/Optional | Configuration |
|---|---|---|
| KubeletRootPath | Required | Configure the kubelet data directory on the node to enable the component to register with the node’s kubelet. It is essential to input the correct kubelet data directory, and multiple entries can be specified for matching. |
| maxVolumesPerNode | Required | Set the maximum number of CDS PVs that can be mounted on each node within the cluster. |
- Click the OK button to complete the component installation.
Deployment status
After installing the CCE CSI CDS Plugin component, the following objects will be deployed in the Kubernetes cluster:
| Object name | Belonging to namespace | Resource usage | Types |
|---|---|---|---|
| csi-cds-external-runner | kube-system | - | ServiceAccount |
| csi-cds-external-runner | kube-system | - | ClusterRole |
| csi-cds-role-binding | kube-system | - | ClusterRoleBinding |
| csi-cds-external-runner-cfg | kube-system | - | Role |
| csi-cds-role-cfg | kube-system | - | RoleBinding |
| csi-cdsplugin-node-server-* | kube-system | Unrestricted | DaemonSet |
| csi-cdsplugin-controller-server | kube-system | CPU: 100m Memory: 100Mi | Deployment |
| cce-csi-cds-plugin-cce-reserved | kube-system | - | ConfigMap |
Version records
| Version No. | Cluster version compatibility | Update time | Update content | Impact |
|---|---|---|---|---|
| 1.4.8 | CCE/v1.22+ | 2025.01.25 | - | |
| 1.4.7 | CCE/v1.22+ | 2024.06.13 | Support dynamic mounting with configurable bucket trash entry upon deletion | - |
| 1.4.6 | CCE/v1.22+ | 2024.05.15 | Support mounting CDS in edge clusters | - |
| 1.4.5 | CCE/v1.22+ | 2024.03.12 | Optimize the gateway token acquisition method to avoid mount failures caused by token expiration | - |
| 1.4.4 | CCE/v1.22+ | 2024.01.04 | Support mounting CDS on EBC models | - |
| 1.4.3 | CCE/v1.22+ | 2023.10.20 | Fix dependencies on the dev path field and potential drive letter residues | - |
| 1.4.2 | CCE/v1.22+ | 2023.06.28 | Set the default fsType field to ensure backward compatibility | - |
| 1.4.1 | CCE/v1.22+ | 2023.01.04 | Support upgrading the cluster Kubernetes version from 1.20 to 1.22 | - |
| 1.4.0 | CCE/v1.22+ | 2022.10.10 | Add support for CCE Kubernetes 1.22 clusters | - |
| 1.3.0 | CCE/v1.18+ | 2022.08.10 | Support arm64 architecture K8S Cluster CCE | - |
| 1.2.0 | CCE/v1.18+ | 2022.03.25 | Improve performance in creation/mounting/drifting scenarios | - |
| 1.1.2 | CCE/v1.18+ | 2021.12.16 | Modify the default topologyMode to auto to be compatible with DCC usage scenarios | - |
| 1.1.1 | CCE/v1.18+ | 2021.10.26 | Allow GPU nodes to run CSI CDS Node Server | - |
| 1.1.0 | CCE/v1.18+ | 2021.06.28 | CSI CDS Driver supports ExpandVolume and VolumeStats; deployment supports setting tolerations | - |
| 1.0.0 | CCE/v1.18+ | 2021.08.11 | Deploy the open-source v1.0.0 CSI driver | - |
| 0.5.3 | CCE/v1.18+ | 2021.01.21 | Modify the default cdsplugin image | - |
| 0.5.2 | CCE/v1.18+ | 2020.12.29 | Support custom images and service endpoints | - |
| 0.5.1 | CCE/v1.18+ | 2020.12.10 | Support clusters with heterogeneous kubelet data directories via node affinity | - |
| 0.5.0 | CCE/v1.18+ | 2020.12.10 | Add support for CCE Kubernetes 1.18 clusters && kubelet data directory configuration | - |
| 0.4.0 | CCE/v1.16+ | 2020.11.29 | Add support for CCE Kubernetes 1.16 clusters | - |
| 0.3.4 | CCE/v1.13+ | 2020.10.28 | Add crds dependent on csi | - |
| 0.3.3 | CCE/v1.13+ | 2020.09.21 | Fix field errors in external-runner-rolebinding |
- |
| 0.3.2 | CCE/v1.13+ | 2020.08.26 | Update the sidecar component image to fix CVE-2019-11255 | - |
| 0.3.1 | CCE/v1.13+ | 2020.07.15 | Update cdsplugin image to latest-1.13 / latest-1.11 |
- |
| 0.3.0 | CCE/v1.13+ | 2020.06.19 |
|
- |
| 0.2.2 | CCE/v1.13+ | 2020.05.07 | Fix the meaning and default value of the cdsSizeInGB field in parameters |
- |
| 0.2.1 | CCE/v1.13+ | 2020.04.22 | Fix parameters zone issue with plugin creating invalid storageClass when field is nil |
- |
| 0.2.0 | CCE/v1.13+ | 2020.03.17 | Add support for CCE Kubernetes 1.13 clusters | - |
| 0.1.0 | CCE/v1.11+ | 2020.01.20 | Initial version, supporting installing the plugin in CCE Kubernetes 1.11 clusters | - |
