安装NFS Server NFS服务端IP为: 10.20.70.113 1 sudo apt-get -y install nfs-kernel-server # 包含nfs-common 1 2 3 sudo mkdir -p /data/k8s-nfs echo '/data/k8s-nfs *(rw,sync,no_root_squash)' | sudo tee /etc/exports sudo exportfs -a 检查状态 1 2 3 systemctl status nfs-server sudo rpcinfo -p |grep nfs cat /var/lib/nfs/etab