Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR simplifies and unifies the process of bringing up a hcloud k8s environment that is suitable for development/testing purposes. It builds off the work originally started in #226
The central script is
hack/dev-up.sh
. The script requires aHCLOUD_TOKEN
, and will build a 1+ k8s cluster usingk3sup
+hcloud
CLI tools. It's typically quite fast: a cold execution of the script should take less <1min before a fully operational cluster isready for use.
The
dev-down.sh
script will delete all resources created bydev-up.sh
.One of the primary objectives in this work was to simplify the e2e testing process.
Skaffold is plumbed into the e2e test pipelines on GitHub. This way, the process of building and deploying a test build of csi-driver to a cluster is unified for development and test.
Once this work has landed and stabilized here, we expect to package it up a bit further and use it in csi-driver and anywhere else we operate Kubernetes integrations that need automated testing.