Kubernetes NFS volume mount fail with exit status 32

前端 未结 5 841
遥遥无期
遥遥无期 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:07

    I had the same problem, and I solved it by installing nfs-common in every Kubernetes nodes.

    apt-get install -y nfs-common
    

    My nodes were installed without nfs-common. Kubernetes will ask each node to mount the NFS into a specific directory to be available to the pod. As mount.nfs was not found, the mounting process failed.

    Good luck!

提交回复
热议问题