Description of problem: === - OpenShift PVC doesn't support mount option for NFS. - One customer need to use NFS client with v3 due to their NFS server restriction, so "vers=3" is necessary. - Similar report in upstream https://github.com/kubernetes/kubernetes/issues/17226 Version-Release number of selected component (if applicable): === - OCP 3.3 Steps to Reproduce: === 1. Create PVC with NFS backend Actual results: === - PVC doesn't have any option to specify "vers=3". Expected results: === - PVC can specify the option "vers=3".
to be addressed in Kubernetes 1.6
picked up in 1.6 rebase
Added github pr link.
Github PR - https://github.com/kubernetes/kubernetes/pull/41906
Verified on below version: openshift v3.6.86 kubernetes v1.6.1+5115d708d7 Now the pvc is supported mount option: $ cat pvc.yaml kind: PersistentVolume apiVersion: v1 metadata: name: pvmountopt annotations: volume.beta.kubernetes.io/mount-options: ro,nfsvers=3 spec: capacity: storage: 1Gi accessModes: - ReadWriteOnce nfs: path: /nfs server: <nfserver>
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:1716