To be able to mount NFS volumes, NFS client packages need to be preinstalled on all worker nodes where you plan to have NFS-mounted pods:
- If you are using Ubuntu, install nfs-common on all worker nodes:
$ sudo apt install -y nfs-common
- If using CentOS, install nfs-common on all worker nodes:
$ yum install nfs-utils
Now we have nfs-utils installed on our worker nodes and are ready to get the NFS server to deploy.