currently I am trying to install the > Nutanix CSI Volume Driver 1.1 on a Kubernetes cluster, which was provisionied by RKE. The underlying GuestOS is RancherOS.
On my woker nodes I installed the iSCSI package with the following commands:
ros service enable open-iscsi
ros service up open-iscsi
Also I have added /lib/modules to the extra_binds of the kubelet and changed the volume paths of the ntnx-csi-node.yaml to /var/lib/kubelet/volumeplugins, /opt/rke/var/lib/kubelet/plugins/com.nutanix.csi/ and /opt/rke/var/lib/kubelet/
I can’t find any documentation about kubelet and two paths /var/lib/kubelet and /opt/rke/var/lib/kubelet. Maybe someone can explain the concept behind it?
The CSI provisioner and also the CSI node plugin pods are running. And I can create a PVC and the PV is created as expected, but it can’t be attached to the pod. I get the following error:
MountVolume.MountDevice failed for volume “pvc-1f686380-0639-4e85-92cf-462fdda7f5f4” : kubernetes.io/csi: attacher.MountDevice failed to create newCsiDriverClient: driver name com.nutanix.csi not found in the list of registered CSI drivers
Is there any documentation how I can add a custom provisioner to Rancher?