Thank you for the article.
I have tried to get this working in minikube version: v1.30.1 (Using vbox and docker drivers) but am running into a few issues.
The first issue when the controller is deploying is:
Message: MountVolume.SetUp failed for volume “pods-mount-dir” : hostPath type check failed: /var/snap/microk8s/common/var/lib/kubelet/pods is not a directory
I checked older versions to 1.20.1 but none of them have this directory.
I can change kubletDir=/var/lib/kubelet for the chart installation. Which then allows the pods to deploy correctly.
I can create the storage class.
But when I create the pvc I see this message:
Warning ProvisioningFailed 4s (x6 over 36s) nfs.csi.k8s.io_minikube_a8709991-6ee2-4464-b952-56e18580da4f failed to provision volume with StorageClass “nfs-csi”: rpc error: code = Internal desc = failed to make subdirectory: mkdir /tmp/pvc-7f6da8d9-0bb5-413d-b6e9-5adc4a4c2224/pvc-7f6da8d9-0bb5-413d-b6e9-5adc4a4c2224: read-only file system
Thanks for any thoughts on this.