CSI driver-smb not mounting despite no errors #557
-
Hello, I'm unable to get the csi smb driver to work properly on my microk8s 1,25 cluster running on ubuntu 22.04. I'm hoping someone on this forum is able to assist me in resolving this issue. I've deployed a PV and PVC with the following charts
Mounted pvc to deployment with following
smb driver node reports successful mount as shown in logs below
but folder comes up empty sudo ls -la /var/snap/microk8s/common/var/lib/kubelet/pods/c644ec16-5f35-41f9-b27f-cfa878c4c82d/volumes/kubernetes.io~csi/pv-smb/mount and df -h command reveals nothing is being mounted.
Any help will be greatly appreciated... Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
could you provide |
Beta Was this translation helpful? Give feedback.
-
not sure whether you have set this:
|
Beta Was this translation helpful? Give feedback.
not sure whether you have set this:
--set linux.dnsPolicy=ClusterFirstWithHostNet
with--set controller.dnsPolicy=ClusterFirstWithHostNet
-external smb server cannot be found based on Default dns.
--set linux.kubelet="/var/snap/microk8s/common/var/lib/kubelet"
- sets correct path to microk8s kubelet eventhough a user has a folder link to it.