This repository hosts the CSI Hostpath driver and all of its build and dependent configuration files to deploy the driver.
kubectl
installedThe driver can provide empty directories that are backed by the same filesystem as EmptyDir volumes. In addition, it can provide raw block volumes that are backed by a single file in that same filesystem and bound to a loop device.
Various command line parameters influence the behavior of the driver. This is relevant in particular for the end-to-end testing that this driver is used for in Kubernetes.
Usually, the driver implements all CSI operations itself. When deployed with the -proxy-endpoint
parameter, it instead proxies all incoming connections for a CSI driver that is embedded inside the Kubernetes E2E test suite and used for mocking a CSI driver with callbacks provided by certain tests.
Deployment for Kubernetes 1.17 and later
The following examples assume that the CSI hostpath driver has been deployed and validated:
If you want to build the driver yourself, you can do so with the following command from the root directory:
make
The deploy/
directory contains manifests for deploying the CSI hostpath driver for different Kubernetes versions.
If you want to update the image versions used in these manifests, you can do so with the following command from the root directory:
hack/bump-image-versions.sh
Learn how to engage with the Kubernetes community on the community page.
You can reach the maintainers of this project at:
Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.