Mark Turner

27%
Flag icon
Mounting the host filesystem Other applications don’t actually need a persistent volume, but they do need some access to the underlying host filesystem. For example, they may need access to the /dev filesystem in order to perform raw block-level access to a device on the system. For these cases, Kubernetes supports the hostDir volume, which can mount arbitrary locations on the worker node into the container. The previous example uses the hostDir volume type. The volume created is /var/lib/kuard on the host.
Kubernetes: Up & Running: Dive into the Future of Infrastructure
Rate this book
Clear rating