docs
uk8s
Cluster Storage
CSI Storage Plugin Upgrade

CSI Storage Plugin Upgrade

Before carrying out CSI updates, please carefully read the precautions below. If you have any questions, please consult our technical support.

1. Precautions

  • When performing storage plug-in upgrades on the cluster, it is necessary to operate K8s key components. Please operate during the low tide of the business and avoid service launches.
  • Do not upgrade by modifying the image of CSI on your own, otherwise, CSI will not work. Please be sure to complete the upgrade of CSI on the console.
  • If the version of the cluster is not within our maintenance version, the console will not be able to upgrade directly, see: UK8S Version Maintenance Description.
  • 22.09.1: If you want to use RSSD cloud disk, please upgrade CSI to version 22.09.1 or above, see details RSSD Cloud Disk Mounting Problem.
  • 21.09.1: Upgrading from the old version to 21.09.1 or above will cause the pod mount points using US3/UFile to fail. If your business uses US3/UFile, please be sure to confirm the current version. If you have any doubts, please contact our technical support.

2. Version Check and Plug-in Upgrade

On the "Plug-in-Storage Plug-in" page of the UK8S cluster console management page, turn on the CSI storage plug-in upgrade function, enable the CSI plug-in function will execute the CSI plug-in query task in the cluster, which takes about 3 minutes, please do not operate the cluster during this process. After the upgrade function is turned on, you can see the version information of the CSI plug-in, and you can upgrade by clicking on "Upgrade CSI".

The upgrade process takes approximately 1 minute, during which the "Current Version" field will be displayed as "Upgrading". After the upgrade is complete, it will display the latest version number. If the upgrade fails, please contact our technical support.

After all nodes have been successfully upgraded, you may close the plug-in upgrade service and reopen it when there is a future upgrade requirement.

3. Manual Upgrade

If the cluster version is not within our maintenance scope, you can manually upgrade the csi, please execute the following commands (you can only upgrade to an old version, not recommended for use with RSSD cloud disks):

UDisk CSI Upgrade

kubectl apply -f https://docs.surfercloud.com/uk8s/yaml/volume/udisk.21.11.2/csi-controller.yml
kubectl apply -f https://docs.surfercloud.com/uk8s/yaml/volume/udisk.21.11.2/csi-node.yml

UFile CSI Upgrade

kubectl apply -f https://docs.surfercloud.com/uk8s/yaml/volume/us3.21.11.2/csi-controller.yml
kubectl apply -f https://docs.surfercloud.com/uk8s/yaml/volume/us3.21.11.2/csi-node.yml

4. Change Log

VersionUpdate TimeUpdate Content
24.06.072024.06.07Solved the sporadic unloading failure problem when multiple cloud disks are unloaded at the same time
23.09.122023.09.121. Support for mounting specified directory of us3 bucket;
2. Fixed the issue where non-root users in the container may not be able to access files created by the us3 console
23.07.242023.08.01Support for RSSd Cloud Disk on bare metal
22.09.12022.09.171. Dynamic scheduling of RSSD cloud disks to solve RSSD Cloud Disk Mounting Problem
21.11.22021.11.221. csi udisk supports Arc mode;
2. csi udisk supports specifying business group;
3. Optimized us3 mounting parameters
21.11.12021.11.041. Adapted to the situation where s3fs returns success but the actual mounting fails;
2. Fixed the mounting failure caused by the change in the length of the US3 public-private key pair;
3. Always operate the mount through the node us3lancher service
21.09.12021.09.07Move s3fs mount operation to Node, Please note that upgrading to this version will cause the pod mount point of US3/UFile to be invalid
21.08.12021.08.12Optimized the scheduling mechanism of CSI plug-ins to avoid being evicted
21.07.12021.07.05The cloud disk supports bare metal
21.04.12021.04.28Expose UDisk related parameters in Kubelet Metrics
21.03.12021.03.15Solved the problem that volume attachment is not deleted after the node is deleted, leading to storage unloading
21.01.12021.01.13The starting size of UDisk has been changed to 1GB
20.10.12020.10.14Support CSI to limit the maximum number of volumes that can be mounted on a node
Avoid the possible concurrent competitive behavior caused by the SurferCloud API client
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved