PowerScale
Installing Dell CSI Driver for PowerScale via Dell CSM Operator
On Upstream Kubernetes clusters, ensure that to install
The Kubernetes Volume Snapshot CRDs can be obtained and installed from the external-snapshotter project on Github. Manifests are available here
The CSI external-snapshotter sidecar is split into two controllers:
The common snapshot controller must be installed only once in the cluster irrespective of the number of CSI drivers installed in the cluster. On OpenShift clusters, the common snapshot-controller is pre-installed. In the clusters where it is not present, it can be installed using kubectl
and the manifests are available here
NOTE:
You can install CRDs and the default snapshot controller by running the following commands:
git clone https://github.com/kubernetes-csi/external-snapshotter/
cd ./external-snapshotter
git checkout release-<your-version>
kubectl create -f client/config/crd
kubectl create -f deploy/kubernetes/snapshot-controller
NOTE:
Refer PowerScale Driver to install the driver via Operator
Note: If you are using an OLM based installation, example manifests are available in
OperatorHub
UI. You can edit these manifests and install the driver using theOperatorHub
UI.
Once the driver Custom Resource (CR)
is created, you can verify the installation as mentioned below
$ kubectl get csm/<name-of-custom-resource> -n <driver-namespace> -o yaml
Succeeded
state. If the status is not Succeeded
, see the Troubleshooting guide for more information.The CSI Drivers and CSM Modules installed by the Dell CSM Operator can be updated like any Kubernetes resource. This can be achieved in various ways which include:
kubectl edit
For example - If the name of the installed PowerScale driver is powerscale, then run
# Replace driver-namespace with the namespace where the PowerScale driver is installed
$ kubectl edit csm/powerscale -n <driver-namespace>
and modify the installationkubectl patch
NOTES:
driver:
configVersion: v2.3.0
CustomResource
manifest file and running the kubectl apply -f
command. As part of the driver installation, the Operator sets some annotations on the CustomResource
object which are further utilized in some workflows (like detecting upgrade of drivers). If you run the kubectl apply -f
command to update the driver, these annotations are overwritten and this may lead to failures.The CSI Drivers and CSM Modules can be uninstalled by deleting the Custom Resource.
For e.g.
$ kubectl delete csm/powerscale -n <driver-namespace>
By default, the forceRemoveDriver
option is set to true
which will uninstall the CSI Driver and CSM Modules when the Custom Resource is deleted. Setting this option to false
is not recommended.
Although the sidecars field in the driver specification is optional, it is strongly recommended to not modify any details related to sidecars provided (if present) in the sample manifests. The only exception to this is modifications requested by the documentation, for example, filling in blank IPs or other such system-specific data. Any modifications not specifically requested by the documentation should be only done after consulting with Dell support.
Installing Dell CSI Driver for PowerScale via Dell CSM Operator