2022-05-29 11:37:13 +00:00
|
|
|
# Sets up a single node all-on-one k8s cluster
|
|
|
|
|
2022-05-29 11:37:13 +00:00
|
|
|
## New providers
|
|
|
|
|
|
|
|
* rke: https://registry.terraform.io/providers/rancher/rke/1.3.0/docs
|
|
|
|
* local: https://registry.terraform.io/providers/hashicorp/local/2.2.3/docs
|
|
|
|
|
|
|
|
## How-to
|
|
|
|
|
2022-05-29 11:37:13 +00:00
|
|
|
* Make sure you have kubectl installed, choose a version fitting to your
|
|
|
|
desired k8s version, as defined in `variables.tf`
|
|
|
|
* Copy secret.auto.tfvars.example to secret.auto.tfvars
|
|
|
|
* Set up your API key in secret.auto.tfvars
|
|
|
|
* `terraform init` && `terraform plan` && `terraform apply`
|