:_mod-docs-content-type: ASSEMBLY
[id="persistent-storage-using-hostpath"]
= Persistent storage using hostPath
include::_attributes/common-attributes.adoc[]
:context: persistent-storage-hostpath

toc::[]

[role="_abstract"]
A hostPath volume mounts a file or directory from the host node's filesystem into your pod. Use hostPath volumes primarily for testing or development, as they require privileged pods and grant access to the host node's filesystem.

include::modules/persistent-storage-hostpath-about.adoc[leveloffset=+1]

include::modules/persistent-storage-hostpath-static-provisioning.adoc[leveloffset=+1]

include::modules/persistent-storage-hostpath-pod.adoc[leveloffset=+1]
