diff --git a/apiserver/Volumes.md b/apiserver/Volumes.md index 6e844336128..133f56bdd91 100644 --- a/apiserver/Volumes.md +++ b/apiserver/Volumes.md @@ -13,15 +13,13 @@ Multiple volumes of different type can be mounted to both head and worker nodes, ## HostPath volumes -A hostPath volume mounts a file or directory from the host node's filesystem into your Pod. This is not something that -most Pods will need, but it offers a powerful escape hatch for some applications. +A hostPath volume mounts a file or directory from the host node's filesystem into your Pod. This is not something that most Pods will need, but it offers a powerful escape hatch for some applications. For example, some uses for a hostPath are: * running a container that needs access to Docker internals; use a hostPath of /var/lib/docker * running cAdvisor in a container; use a hostPath of /sys -* allowing a Pod to specify whether a given hostPath should exist prior to the Pod running, whether it should be -created, and what it should exist as +* allowing a Pod to specify whether a given hostPath should exist prior to the Pod running, whether it should be created, and what it should exist as The code below gives an example of hostPath volume definition: @@ -38,9 +36,7 @@ The code below gives an example of hostPath volume definition: ## PVC volumes -A Persistent Volume Claim (PVC) is a request for storage by a user. It is similar to a Pod. Pods consume node resources -and PVCs consume PV resources. Pods can request specific levels of resources (CPU and Memory). Claims can request -specific size and access modes (e.g., they can be mounted `ReadWriteOnce`, `ReadOnlyMany` or `ReadWriteMany`). +A Persistent Volume Claim (PVC) is a request for storage by a user. It is similar to a Pod. Pods consume node resources and PVCs consume PV resources. Pods can request specific levels of resources (CPU and Memory). Claims can request specific size and access modes (e.g., they can be mounted `ReadWriteOnce`, `ReadOnlyMany` or `ReadWriteMany`). The caveat of using PVC volumes is that the same PVC is mounted to all nodes. As a result only PVCs with access mode `ReadOnlyMany` can be used in this case.