k3s/examples/volumes/azure_disk
David McMahon 385fb81407 Update the latestReleaseBranch to release-1.4 in the munger. 2016-09-01 14:40:55 -07:00
..
README.md Update the latestReleaseBranch to release-1.4 in the munger. 2016-09-01 14:40:55 -07:00
azure.yaml

README.md

WARNING WARNING WARNING WARNING WARNING

PLEASE NOTE: This document applies to the HEAD of the source tree

If you are using a released version of Kubernetes, you should refer to the docs that go with that version.

The latest release of this document can be found [here](http://releases.k8s.io/release-1.4/examples/volumes/azure_disk/README.md).

Documentation for other releases can be found at releases.k8s.io.

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