wunderio / csi-rclone

CSI driver for rclone
Apache License 2.0
211 stars 62 forks source link

csi.sock connection refused #2

Open kjico opened 5 years ago

kjico commented 5 years ago

I've deployed csi-rclone using the manifests. When I follow the example to create a PV and then apply the nginx example I get this error MountVolume.MountDevice failed for volume "data-rclone-example" : rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial unix /var/lib/kubelet/plugins/csi-rclone/csi.sock: connect: connection refused" . The cluster is running version 1.14.6 deployed with kops.

How can I solve this?

vvavepacket commented 4 years ago

@kjico Have you sovled the above issue? I'm encountering the same

kjico commented 4 years ago

@vvavepacket No sorry, didn't manage to get it working before so I just continued to use a sidecar to mount the s3 bucket with rclone instead.

Jancis commented 3 years ago

You might need to adjust kubelet base path in deployment files. The correct path for GKE and EKS is /var/lib/kubelet, but for instance microk8s is /var/snap/microk8s/common/var/lib/kubelet. Search for all occurrences of /var/lib/kubelet in deploy/kubernetes folder.