Skip to content

Commit

Permalink
Adding block volumeMode documentation for local volumes. (#7531)
Browse files Browse the repository at this point in the history
Code review comments.

Changed property to field.

Address tech review comment.
  • Loading branch information
dhirajh authored and zacharysarah committed Apr 16, 2018
1 parent 50d31dd commit 1c2b212
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/concepts/storage/volumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
correct node.

<<<<<<< HEAD
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.
Expand All @@ -585,6 +586,13 @@ the Kubernetes scheduler to correctly schedule pods using local volumes to the
correct node.
>>>>>>> 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
`volumeBindingMode` set to `WaitForFirstConsumer`. See the
[example](storage-classes.md#local). Delaying volume binding ensures
Expand Down

0 comments on commit 1c2b212

Please sign in to comment.