From 9be902bee04fe1bdacf3cd85b201c08c9fb41418 Mon Sep 17 00:00:00 2001 From: Kedar Vijay Kulkarni Date: Mon, 25 Jan 2021 11:17:10 -0500 Subject: [PATCH 1/2] added example linking to hostPath volume definition --- content/en/docs/concepts/storage/persistent-volumes.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/en/docs/concepts/storage/persistent-volumes.md b/content/en/docs/concepts/storage/persistent-volumes.md index cf915bfa52..ccb1470e57 100644 --- a/content/en/docs/concepts/storage/persistent-volumes.md +++ b/content/en/docs/concepts/storage/persistent-volumes.md @@ -620,6 +620,11 @@ spec: PersistentVolumes binds are exclusive, and since PersistentVolumeClaims are namespaced objects, mounting claims with "Many" modes (`ROX`, `RWX`) is only possible within one namespace. +### PersistentVolumes typed HostPath + +A hostPath PersistentVolume uses a file or directory on the Node to emulate network-attached storage. +See [an example of HostPath typed volume](/docs/tasks/configure-pod-container/configure-persistent-volume-storage/#create-a-persistentvolume). + ## Raw Block Volume Support {{< feature-state for_k8s_version="v1.18" state="stable" >}} From 11ef740edecb41cb2142c38d15cab326bac93137 Mon Sep 17 00:00:00 2001 From: Kedar Vijay Kulkarni Date: Wed, 3 Feb 2021 09:11:00 -0500 Subject: [PATCH 2/2] Added code style to `hostPath` --- content/en/docs/concepts/storage/persistent-volumes.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/concepts/storage/persistent-volumes.md b/content/en/docs/concepts/storage/persistent-volumes.md index ccb1470e57..379b77d9c0 100644 --- a/content/en/docs/concepts/storage/persistent-volumes.md +++ b/content/en/docs/concepts/storage/persistent-volumes.md @@ -620,10 +620,10 @@ spec: PersistentVolumes binds are exclusive, and since PersistentVolumeClaims are namespaced objects, mounting claims with "Many" modes (`ROX`, `RWX`) is only possible within one namespace. -### PersistentVolumes typed HostPath +### PersistentVolumes typed `hostPath` -A hostPath PersistentVolume uses a file or directory on the Node to emulate network-attached storage. -See [an example of HostPath typed volume](/docs/tasks/configure-pod-container/configure-persistent-volume-storage/#create-a-persistentvolume). +A `hostPath` PersistentVolume uses a file or directory on the Node to emulate network-attached storage. +See [an example of `hostPath` typed volume](/docs/tasks/configure-pod-container/configure-persistent-volume-storage/#create-a-persistentvolume). ## Raw Block Volume Support