# yaml file contents apiVersion: v1 kind: PersistentVolume metadata: name: data4-pv spec: capacity: storage: 50Gi accessModes: - ReadWriteOnce - ReadOnlyMany - ReadWriteMany nfs: server: 10.0.0.1 path: /work/k8s/data4 persistentVolumeReclaimPolicy: Recycle #storageClassName: local-storage #hostPath: #path: /home/k8s/