- Related task: #2755 Steps to manually install Harvester csi-driver on K3s cluster
Verify steps
Follow test case 66-Deploy Harvester csi driver to k3s Cluster
to manually install csi-driver on k3s cluster
-
Create a nginx deployment in Workload -> Deployments
-
Create a Persistent Volume Claims, select storage class to
harvester
-
Select the
Single-Node Read/Write
-
Open Harvester Volumes page, check the corresponding volume exists
-
Click Execute shell to access Nginx container.
-
Run
dd if=/dev/null of=/test/tmpfile bs=1M count=512
-
Delete the Nginx deployment.
-
Create a standalone PVC on
PersistentVolumeClaims
page withharvester
storage class -
Change to Harvester dashboard.
-
Click the Edit config for the volume.
-
Change volume size. We can see the volume is in Resizing status.
-
Delete PVC in k3s dashboard.
Expected Results
-
Check can deploy nginx service correctly
-
Check can correctly create PVC in
PersistenVolumeClaims
-
Check can correctly create PV in
PersistentVolumes
-
Check can allocate size in nginx container
-
Check the created stand alone PVC and PV on Rancher and Harvester volumes page
-
Check can resize and delete volume with harvester storage class
-
Check the related volume should be deleted in Harvester too.