This is a Container Storage Interface driver for Hetzner Cloud enabling you to use ReadWriteOnce Volumes within Kubernetes & other Container Orchestrators. Please note that this driver requires Kubernetes 1.19 or newer.
Depending on your Container Orchestrator you need to follow different steps to get started with the Hetzner Cloud csi-driver. You can also find other docs relevant to that Container Orchestrator behind the link:
To setup a development environment, make sure you installed the following tools:
HCLOUD_TOKEN
in your shell session.[!WARNING] The development environment runs on Hetzner Cloud servers which will induce costs.
make -C dev up
source dev/files/env.sh
kubectl get nodes -o wide
skaffold dev
On code change, skaffold will rebuild the image, redeploy it and print all logs from csi components.
⚠️ Do not forget to clean up the development cluster once are finished:
make -C dev down
To run the integrations tests, make sure you installed the following tools:
go test -v -tags integration ./test/integration
The Hetzner Cloud CSI driver is tested against the official kubernetes e2e tests.
Before running the integrations tests, make sure you followed the Setup a development environment steps.
make -C test/e2e/kubernetes test
MIT license