gitpod icon indicating copy to clipboard operation
gitpod copied to clipboard

[terraform] Add k3s setup for tests

Open nandajavarma opened this issue 1 year ago • 1 comments

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.tf to have the right bucket name.
  • Edit terraform.tfvars to 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

nandajavarma avatar Sep 09 '22 06:09 nandajavarma

:warning: Hey reviewer! BE CAREFUL :warning: Review the code before opening in your Gitpod. .gitpod.yml was changed and it might be harmful.

github-actions[bot] avatar Sep 16 '22 14:09 github-actions[bot]

/unhold

nandajavarma avatar Sep 27 '22 10:09 nandajavarma