apiVersion: v1
kind: PersistentVolume
metadata:
  name: resnet-test-retain
  labels:
    name: resnet-test-retain 
spec:
  storageClassName: local-path
  capacity:
    storage: 1Gi 
  accessModes:
    - ReadWriteMany 
  mountOptions:
    - hard
    - nfsvers=4.0
  persistentVolumeReclaimPolicy: Retain 
  nfs: 
    path: /readwritemany/resnet-test-retain
    server: 127.0.0.1
    readOnly: false
