Test PowerStore CSI Driver
In the repository, a simple test manifest exists that creates three different PersistentVolumeClaims using default ext4, xfs, and nfs storage classes and automatically mounts them to the pod.
It assumes that you’ve created the same basic three storage classes from
helm/samples/storageclassfolder without changing their names. If you’ve created different storage classes please edit
PersistentVolumeClaimdefinitions to point to correct storage classes.
- To run this test, run the kubectl command from the root directory of the repository:
kubectl create -f ./tests/simple/
You can find all the created resources in
Check if the pod is created and Ready and Running by running:
kubectl get all -n testpowerstore
If it’s in CrashLoopback state then the driver installation wasn’t successful. Check the logs of the node and the controller.
Go into the created container and verify that everything is mounted correctly.
After verifying, you can uninstall the testing PVCs and StatefulSet.
kubectl delete -f ./tests/simple/