Skip to content

Commit

Permalink
Code review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhirajh committed Feb 27, 2018
1 parent afe2600 commit 966514f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/concepts/storage/volumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ metadata:
spec:
capacity:
storage: 100Gi
# volumeMode property requires BlockVolume Alpha feature gate to be enabled.
volumeMode: Filesystem
accessModes:
- ReadWriteOnce
Expand All @@ -565,7 +566,8 @@ the Kubernetes scheduler to correctly schedule pods using local volumes to the
correct node.

PersistentVolume `volumeMode` can now be set to "Block" (instead of the default
value "Filesystem") to expose the local volume as a raw block device.
value "Filesystem") to expose the local volume as a raw block device. The
`volumeMode` property requires `BlockVolume` Alpha feature gate to be enabled.

When using local volumes, it is recommended to create a StorageClass with
`volumeBindingMode` set to `WaitForFirstConsumer`. See the
Expand Down

0 comments on commit 966514f

Please sign in to comment.