csi-provisioner is a Container Storage Interface (CSI) component that automatically provisions disk volumes in an ASK cluster. This topic describes how to install and update csi-provisioner.
Prerequisites
Before you begin, make sure you have:
-
An ASK cluster. For more information, see Create an ASK cluster.
-
A kubectl client connected to your cluster. For more information, see Connect to an ACK cluster by using kubectl.
Install csi-provisioner
-
Install csi-provisioner from the Manage system components page. For more information, see Manage system components.
-
Verify the installation by running the following command:
kubectl get pod -n kube-system | grep csi-provisionerExpected output:
NAME READY STATUS RESTARTS AGE csi-provisioner 1/1 Running 0 14dThe pod is in the
Runningstate, which confirms that csi-provisioner is installed successfully.
Update csi-provisioner
-
Find the target version in the csi-provisioner release notes.
-
Update the image address in the YAML template of csi-provisioner to the version identified in step 1.
-
Verify the update by running the following command:
kubectl get pod -n kube-system | grep csi-provisionerConfirm the pod is in the
Runningstate before proceeding.