I have a three node Rancher cluster and an NFS server:
Tested NFS from another client and it works:
$ sudo mount X.X.X.83:/var/nfs/general /mnt/nfs
$ ls /mnt/nfs
$ df -h
Filesystem Size Used Avail Use% Mounted on
...
X.X.X.83:/var/nfs/general 46G 2.6G 41G 6% /mnt/nfs
$ ls /mnt/nfs
fromserver
Configured the Rancher-NFS driver:
Configured a service:
But got error related to NFS: Internal Server error 500
Any hint?
What does your /etc/export
on nfs-server looks like? @AJ_NOURI
Thanks for your reply @StrongMonkey.
$ cat /etc/export
/var/nfs/general *(rw,sync)
I have tested it from another client and it works.
$ sudo mount X.X.X.83:/var/nfs/general /mnt/nfs
$ ls /mnt/nfs
$ df -h
Filesystem Size Used Avail Use% Mounted on
...
X.X.X.83:/var/nfs/general 46G 2.6G 41G 6% /mnt/nfs
$ ls /mnt/nfs
fromserver
@AJ_NOURI Also in nfs-driver container, can you grab the logs where it failed to mount? there might be some detail error logs.