cri-o/vendor/k8s.io/kubernetes/examples/volumes/azure_disk
Mrunal Patel 8e5b17cf13 Switch to github.com/golang/dep for vendoring
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2017-01-31 16:45:59 -08:00
..
azure.yaml Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
README.md Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00

How to Use it?

On Azure VM, create a Pod using the volume spec based on azure.

In the pod, you need to provide the following information:

  • diskName: (required) the name of the VHD blob object.
  • diskURI: (required) the URI of the vhd blob object.
  • cachingMode: (optional) disk caching mode. Must be one of None, ReadOnly, or ReadWrite. Default is None.
  • fsType: (optional) the filesytem type to mount. Default is ext4.
  • readOnly: (optional) whether the filesystem is used as readOnly. Default is false.

Launch the Pod:

    # kubectl create -f examples/volumes/azure_disk/azure.yaml

Analytics