gitpod
gitpod copied to clipboard
[terraform] Add k3s setup for tests
Description
This PR adds a very rough single-cluster setup for k3s. We are adding this for consistency with Azure, AWS and GCP setups so we can consistently run the tests. We do not recommend users to use this because the underlying module still make use of k3sup and we have plans to move to k3s before suggesting this as a solution. Hence we have not included a Readme with this directory.
Related Issue(s)
Fixes #12866
How to test
- Go to the directory
install/infra/single-cluster/k3s. - Edit
main.tfto have the right bucket name. - Edit
terraform.tfvarsto right parameters for the cluster. Then run:
make init
make plan
make apply
# After testing, make sure you cleanup with:
make destroy
Release Notes
NONE
Documentation
Werft options:
- [ ] /werft with-preview
:warning: Hey reviewer! BE CAREFUL :warning:
Review the code before opening in your Gitpod. .gitpod.yml was changed and it might be harmful.
/unhold