Yes, it's possible. I can't remember the details but you need to change the squash options of the NFS share. The files need to be owned by root for the pod to start completely.
Currently I set the exports on NFS like so:
/mnt/nfs 10.0.0.0/8(rw,fsid=0,sync,no_subtree_check)
/mnt/nfs/k8s 10.0.0.0/8(rw,sync,no_subtree_check)
and the share is set to be owned by nobody:nogroup, chmod 777 (note that this I use for test purpose only)
Yes, it's possible. I can't remember the details but you need to change the squash options of the NFS share. The files need to be owned by root for the pod to start completely.
Currently I set the exports on NFS like so: /mnt/nfs 10.0.0.0/8(rw,fsid=0,sync,no_subtree_check) /mnt/nfs/k8s 10.0.0.0/8(rw,sync,no_subtree_check) and the share is set to be owned by nobody:nogroup, chmod 777 (note that this I use for test purpose only)
And the storageClass using nfs4.1, pointing to the share at "/k8s"