Adding block volumeMode documentation for local volumes. (#7531)

Code review comments.

Changed property to field.

Address tech review comment.
This commit is contained in:
Dhiraj
2018-02-27 19:42:45 -08:00
committed by zacharysarah
parent 50d31ddb53
commit 1c2b212f72
+8
View File
@@ -573,6 +573,7 @@ PersistentVolume `nodeAffinity` is required when using local volumes. It enables
the Kubernetes scheduler to correctly schedule pods using local volumes to the the Kubernetes scheduler to correctly schedule pods using local volumes to the
correct node. correct node.
<<<<<<< HEAD
PersistentVolume `volumeMode` can now be set to "Block" (instead of the default PersistentVolume `volumeMode` can now be set to "Block" (instead of the default
value "Filesystem") to expose the local volume as a raw block device. The value "Filesystem") to expose the local volume as a raw block device. The
`volumeMode` field requires `BlockVolume` Alpha feature gate to be enabled. `volumeMode` field requires `BlockVolume` Alpha feature gate to be enabled.
@@ -585,6 +586,13 @@ the Kubernetes scheduler to correctly schedule pods using local volumes to the
correct node. correct node.
>>>>>>> Update local storage docs for beta (#7473) >>>>>>> Update local storage docs for beta (#7473)
||||||| merged common ancestors
=======
PersistentVolume `volumeMode` can now be set to "Block" (instead of the default
value "Filesystem") to expose the local volume as a raw block device. The
`volumeMode` field requires `BlockVolume` Alpha feature gate to be enabled.
>>>>>>> Adding block volumeMode documentation for local volumes. (#7531)
When using local volumes, it is recommended to create a StorageClass with When using local volumes, it is recommended to create a StorageClass with
`volumeBindingMode` set to `WaitForFirstConsumer`. See the `volumeBindingMode` set to `WaitForFirstConsumer`. See the
[example](storage-classes.md#local). Delaying volume binding ensures [example](storage-classes.md#local). Delaying volume binding ensures