fix vsphere volume type for Pod spec docs

The documentation has vsphere volumes for the Pod spec as vsphereVirtualDisk.
It should instead be vsphereVolume.
This commit is contained in:
Min Pae
2016-08-08 16:17:05 -07:00
parent 613951b40a
commit a7a8af7a8d
+3 -3
View File
@@ -76,7 +76,7 @@ Kubernetes supports several types of Volumes:
* `persistentVolumeClaim` * `persistentVolumeClaim`
* `downwardAPI` * `downwardAPI`
* `azureFileVolume` * `azureFileVolume`
* `vsphereVirtualDisk` * `vsphereVolume`
We welcome additional contributions. We welcome additional contributions.
@@ -445,7 +445,7 @@ into a Pod.
More details can be found [here](https://github.com/kubernetes/kubernetes/tree/{{page.githubbranch}}/examples/volumes/azure_file/README.md) More details can be found [here](https://github.com/kubernetes/kubernetes/tree/{{page.githubbranch}}/examples/volumes/azure_file/README.md)
### vsphereVirtualDisk ### vsphereVolume
A `VSphereVirtualDisk` is used to mount a vSphere VMDK Volume into your Pod. The contents A `VSphereVirtualDisk` is used to mount a vSphere VMDK Volume into your Pod. The contents
of a volume are preserved when it is unmounted. of a volume are preserved when it is unmounted.
@@ -478,7 +478,7 @@ spec:
volumes: volumes:
- name: test-volume - name: test-volume
# This VMDK volume must already exist. # This VMDK volume must already exist.
vsphereVirtualDisk: vsphereVolume:
volumePath: myDisk volumePath: myDisk
fsType: ext4 fsType: ext4
``` ```