/hostpath-provisioner

Dynamic Provisioning of Kubernetes HostPath Volumes

Primary LanguageGo

Hostpath provisioner

This is the hostpath-provisioner used in MicroK8s to provide simple hostpath-based storage.

It is based on the demo hostpath-provisioner from kubernetes-incubator, and contains modifications proposed here.

Build Docker images

docker login
make manifest VERSION=1.1.0

# push latest tag
make manifest-latest VERSION=1.1.0

Release

Docker images for the hostpath-provisioner are released to DockerHub, and they are available for amd64, arm64, s390x architectures.

Build for development

Go version 1.17 or newer is required to build this project.

sudo snap install --classic go
go version

After Go has been installed, simply use make to build hostpath-provisioner into a single static binary:

make