apiVersion: "v1"
kind: "PersistentVolume"
metadata:
  name: "pv0001" (1)
spec:
  capacity:
    storage: "5Gi" (2)
  accessModes:
    - "ReadWriteOnce"
  azureDisk: (3)
    diskName: test2.vhd (4)
    diskURI: https://someacount.blob.core.windows.net/vhds/test2.vhd (5)
    cachingMode: readwrite  (6)
    fsType: ext4  (7)
    readOnly: false   (8)
| 1 | The name of the volume. This will be how it is identified via persistent volume claims or from pods. | 
| 2 | The amount of storage allocated to this volume. | 
| 3 | This defines the volume type being used (azureDisk plug-in, in this example). | 
| 4 | The name of the data disk in the blob storage. | 
| 5 | The URI the the data disk in the blob storage. | 
| 6 | Host caching mode: None, Read Only, or Read Write. | 
| 7 | File system type to mount (for example, ext4, xfs, and so on). | 
| 8 | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. |