1. 11.4 StorageClass
StorageClass存储类为提供了PV的动态供给,可以自动进行PV的创建,使用StorageClass需要集群中有对应的Provisioner,例如NFS的Provisioner如下:
https://github.com/kubernetes-incubator/external-storage/tree/master/nfs-client
1.1. 部署NFS Provisioner
参考官方文档:https://github.com/kubernetes-incubator/external-storage/tree/master/nfs-client/deploy