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