Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Kubernetes Container Storage Interface driver for Hetzner Cloud Volumes

License

NotificationsYou must be signed in to change notification settings

hetznercloud/csi-driver

Repository files navigation

GitHub Actions statuscodecov

This is aContainer Storage Interface driver for Hetzner Cloudenabling you to use ReadWriteOnce Volumes within Kubernetes & other ContainerOrchestrators. Please note that this driverrequires Kubernetes 1.19 or newer.

Getting Started

Depending on your Container Orchestrator you need to follow different steps toget started with the Hetzner Cloud csi-driver. You can also find other docsrelevant to that Container Orchestrator behind the link:

Development

Setup a development environment

To setup a development environment, make sure you installed the following tools:

  1. Configure aHCLOUD_TOKEN in your shell session.

Warning

The development environment runs on Hetzner Cloud servers which will induce costs.

  1. Deploy the development cluster:
make -C dev up
  1. Load the generated configuration to access the development cluster:
source dev/files/env.sh
  1. Check that the development cluster is healthy:
kubectl get nodes -o wide
  1. Start developing the CSI driver in the development cluster:
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

Run the docker e2e tests

To run the integrations tests, make sure you installed the following tools:

  1. Run the following command to run the integrations tests:
gotest -v -tags integration ./test/integration

Run the kubernetes e2e tests

The Hetzner Cloud CSI driver is tested against the official kubernetes e2e tests.

Before running the integrations tests, make sure you followed theSetup a development environment steps.

  1. Run the kubernetes e2e tests using the following command:
make -C test/e2e/kubernetestest

License

MIT license


[8]ページ先頭

©2009-2025 Movatter.jp