Customer of openshift/kubernetes which uses NFS as there persistent volume type want sometimes to change the mount options.
This entry in the RedHat knowledgeable base describes How to specify client version of NFS for persistent volume
how you can configure the file
/etc/nfsmount.conf to setup your own mount paramters for NFS mounts.
Which options are available is described here
or you can just take a look into the
On every node, which will run pods with the NFS pv, must have the same
The easiest way to do this is via ansible’s copy module after
/etc/nfsmount.conf is configured on the master.
$ ansible -m copy \ -a 'src=/etc/nfsmount.conf dest=/etc/nfsmount.conf backup=yes' \ nodes