写在前面 1. 创建PV和PVC 这里我使用的是K8S中自带的PV,没有使用动态存储,因此我用的是nfs存储,同时集群的数据都存在了一个目录下,如果你的需求不一样请注意 --- 1. 安装nfs 服务端 [root@k8s-master ~]# yum install -y rpcbind nfs