You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.
Could you elaborate on step-by-step, especially the ssh-privatekey field (I suspect this is where it fails), not sure why I get an error, my key works when doing a normal sshfs command outside of docker/kube, but in Kube I get:
Warning FailedMount 2s kubelet MountVolume.SetUp failed for volume "data-sshfs" : rpc error: code = Internal desc = mounting failed: exit status 1 cmd: 'sshfs [email protected]:/home/ubuntu /var/lib/kubelet/pods/e49db8e1-8b9f-485b-96cc-18f3121997c8/volumes/kubernetes.io~csi/data-sshfs/mount -o port=22 -o IdentityFile=/tmp/pk-635769383 -o StrictHostKeyChecking=accept-new -o UserKnownHostsFile=/dev/null' output: "read: Connection reset by peer\n
Also, is there a way to have more/better debugging from kubectl logs when pod is created?
I feel it almost works but I can't see why not
The text was updated successfully, but these errors were encountered:
I've exactly the same problem. Already tested every configuration combination but nothing works. It's also very hard to debug since that's the only error message we get. More verbosity would help. I also think it has something to do with the private key.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Could you elaborate on step-by-step, especially the ssh-privatekey field (I suspect this is where it fails), not sure why I get an error, my key works when doing a normal sshfs command outside of docker/kube, but in Kube I get:
Warning FailedMount 2s kubelet MountVolume.SetUp failed for volume "data-sshfs" : rpc error: code = Internal desc = mounting failed: exit status 1 cmd: 'sshfs [email protected]:/home/ubuntu /var/lib/kubelet/pods/e49db8e1-8b9f-485b-96cc-18f3121997c8/volumes/kubernetes.io~csi/data-sshfs/mount -o port=22 -o IdentityFile=/tmp/pk-635769383 -o StrictHostKeyChecking=accept-new -o UserKnownHostsFile=/dev/null' output: "read: Connection reset by peer\n
Also, is there a way to have more/better debugging from kubectl logs when pod is created?
I feel it almost works but I can't see why not
The text was updated successfully, but these errors were encountered: