Closed vfrans closed 2 years ago
Hello @vfrans
microk8s don't use default kubelet path so you need to change it during csi install
just add --set kubeletDir=/var/snap/microk8s/common/var/lib/kubelet during your csi-storage helm chart install and it need to solve your issue
Thank you @tuxtof, that was definitely it, tried it and now it works!
Totally forgot to change that kubeletPath, thanks again!
When we try to use the Nutanix CSI on out Kubernetes cluster, we have the following error while trying to create a pod that uses a
We are using the helm chart provided at https://github.com/nutanix/helm/tree/nutanix-csi-storage-2.5.1/charts/nutanix-csi-storage#installing-the-chart, using the version 2.5.1 with the following value file:
CSI can create the share, we can see it in the files’s explorer. Also as you can see in the logs, whitelisting works (and if I try to manually mount the share on that server, it works fine).
Here are the versions we are using:
Ubuntu 20.04 MicroK8S v1.22.6-3+7ab10db7034594 Nutanix Files v 4.0.2
Having troubleshooted that a bit, it appears that the folder named after the PVC is not created in the pod’s directory.