
Installation
Prepare the Service Account key pair
The vContainer Storage Interface plugin necessitates a Service Account for executing operations on volume resources. Users can establish a Service Account by accessing the IAM dashboard. Follow the steps below to create a Service Account:
- Step 1: Access the IAM dashboard to create a new Service Account:
- Step 2: Assign a name to Service Account and proceed by clicking Next step:
- Step 3: Grant
vServerFullAccess
permission to Service Account and then click Create Service account:
-
Step 4: Save the Secret key and Client ID of the newly created Service Account:
- Copy the Secret key:
- Copy the Client ID:
- Copy the Secret key:
Install the vcontainer-storage-interface
chart
Before installing vcontainer-storage-interface
chart, users MUST add vcontainer-helm-infra
repository to their local Helm repository list, as detailed in the Install the vcontainer-helm-infra repository section, and prepare the Service Account key pair following the instructions in the previous section. Subsequently, execute the following command to initiate the chart installation:
helm install vcontainer-storage-interface vcontainer-helm-infra/vcontainer-storage-interface --replace \
--namespace kube-system \
--set vcontainerConfig.clientID=<PUT_YOUR_CLIENT_ID> \
--set vcontainerConfig.clientSecret=<PUT_YOUR_SECRET_KEY>
Verify the installation
After the installation is complete, execute the following command to verify the status of the vcontainer-storage-interface
pods:
kubectl get pods -n kube-system | grep vcontainer-storage-interface
About the vContainer Storage Interface plugin, user can get the information of the plugin by executing the following command:
kubectl get csidriver
Upgrade the vcontainer-storage-interface
chart to latest version
If you followed the instructions in the Install the vcontainer-storage-interface chart section to install the vcontainer-storage-interface
chart, execute the following command to upgrade the chart:
helm upgrade vcontainer-storage-interface vcontainer-helm-infra/vcontainer-storage-interface -n kube-system
Uninstallation
If you followed the instructions in the Install the vcontainer-storage-interface chart section to install the vcontainer-storage-interface
chart, execute the following command to uninstall the chart:
helm uninstall vcontainer-storage-interface -n kube-system