官方文档: https://github.com/kubernetes-incubator/external-storage NFS端配置 安装服务 1 2 3 4 5 6 7 8 9 # 安装NFS服务 yum -y install nfs-utils rpcbind # 设置共享目录参数 echo "/data/nfs 128.0.255.0/16(rw, no_root_squash)" > /etc/exports # 启动服务 systemctl enable rpcbind && systemctl start rpcbind systemctl enable nfs && systemctl