name: persistentvolume
label: Kubernetes PersistentVolume
description: Kubernetes PersistentVolume
body: |2 
  apiVersion: v1
  kind: PersistentVolume
  metadata:
    name: ${1:mypv}
  spec:
    capacity:
      storage: ${2:<Size>}
    volumeMode: Filesystem
    accessModes:
      - ReadWriteOnce
    persistentVolumeReclaimPolicy: Recycle
    storageClassName: slow
    mountOptions:
      - hard
      - nfsvers=4.1
    nfs:
      path: /tmp
      server: 172.17.0.2