kubernetes/test/fixtures/doc-yaml/user-guide/persistent-volumes/volumes/local-02.yaml

kind: PersistentVolume
apiVersion: v1
metadata:
  name: pv0002
  labels:
    type: local
spec:
  capacity:
    storage: 8Gi
  accessModes:
    - ReadWriteOnce
  hostPath:
    path: "/somepath/data02"
  persistentVolumeReclaimPolicy: Recycle