Kubernetes NFS volume mount fail with exit status 32

前端 未结 5 801
遥遥无期
遥遥无期 2020-12-24 16:02

I have a Kubernetes setup installed in my Ubuntu machine. I\'m trying to setup a nfs volume and mount it to a container according to this http://kubernetes.io/v1.1/examples/

5条回答
  •  礼貌的吻别
    2020-12-24 16:20

    Had the same issue with NFS which only allowed root mounts. fixed by:

    a. allow non-root users to mount NFS (on the server).

    or

    b. in PersistentVolume add

      mountOptions:
        - nfsvers=4.1
    

提交回复
热议问题