13 lines
255 B
YAML
13 lines
255 B
YAML
|
apiVersion: v1
|
||
|
kind: PersistentVolume
|
||
|
metadata:
|
||
|
name: pv0001
|
||
|
spec:
|
||
|
capacity:
|
||
|
storage: 2Gi
|
||
|
accessModes:
|
||
|
- ReadWriteOnce
|
||
|
persistentVolumeReclaimPolicy: Retain
|
||
|
vsphereVolume:
|
||
|
volumePath: "[DatastoreName] volumes/myDisk"
|
||
|
fsType: ext4
|