hetznercloud/csi-driver
소개
Hetzner Cloud Volumes용 Kubernetes Container Storage Interface 드라이버
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalContainer Storage Interface driver for Hetzner Cloud
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.
Kubernetes Docs
- :rocket: See the quick start guide.
- :book: See the CSI driver architecture for the involved components.
Other Container Orchestrators
These environments are not officially supported. However, thanks to their compatibility with the CSI spec and community contributions, quick start guides are available for the following:
Development
Setup a development environment
To setup a development environment, make sure you installed the following tools:
- Configure a
HCLOUD_TOKENin your shell session.
[!WARNING] The development environment runs on Hetzner Cloud servers which will induce costs.
- Deploy the development cluster:
make -C dev up
- Load the generated configuration to access the development cluster:
source dev/files/env.sh
- Check that the development cluster is healthy:
kubectl get nodes -o wide
- 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:
- Run the following command to run the integrations tests:
go test -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 the Setup a development environment steps.
- Run the kubernetes e2e tests using the following command:
make -C test/e2e/kubernetes test
Run the kubernetes e2e tests with encryption
The kubernetes e2e tests can also be run against LUKS encrypted volumes. This applies the passphrase secret and the hcloud-volumes-encrypted storage class from encryption.yaml and runs the suite using that storage class.
- Run the kubernetes e2e tests with encryption using the following command:
make -C test/e2e/kubernetes test ENCRYPTION=true
License
MIT license
관련 프로젝트 살펴보기
불러오는 중…