ceph-csi/vendor/k8s.io/kubernetes/examples/volumes/vsphere/vsphere-volume-pv.yaml

13 lines
255 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv0001
spec:
capacity:
storage: 2Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
vsphereVolume:
volumePath: "[DatastoreName] volumes/myDisk"
fsType: ext4