NFS mount options that VAST CSI Driver uses when mounting a volume for a PVC can be set as follows:
Per storage class
Supply mount options for a particular storage class using the
mountOptionsparameter in the VAST CSI Driver's Helm chart configuration file or themount_optionsparameter in the Kubernetes YAML configuration file.Per host
Supply mount options in a host-specific NFS mount configuration file (
.conf) located in the/etc/nfsmount.conf.ddirectory.Note
Ensure that the underlying OS of the worker nodes supports use of the
/etc/nfsmount.conf.ddirectory for setting mount options (seeman nfsmount.conf).
If both storage class-specific and host-specific options are specified, storage class-specific options take precedence.
To make VAST CSI Driver ignore host-specific mount options, set the propagateHostMountOptions parameter to false in the driver's Helm chart configuration file:
node: propagateHostMountOptions: false