I have a kubernetes cluster on one host where the master and the workers are on virtual machines. On another host, which is connected to the first through a local network, I have a virtual machine running an nfs server. Additionally, I have setup an ssh tunnel to the nfs server's host entry point. The command used is
ssh -fNv -L forwarded_port:localhost:2049 user@remote_host_ip
However, I get following error:
mount.nfs: requested NFS version or transport protocol is not supported
If I add the protocol tcp option to the mounting request, I get
mount.nfs: access denied by server while mounting localhost:/shared_folder
Does anyone understand this problem and know how to fix it?