add terraform instructions to README.md
This commit is contained in:
parent
c557468980
commit
fbf000a0fd
1 changed files with 2 additions and 4 deletions
|
@ -56,10 +56,10 @@ cd inventory/$CLUSTER
|
|||
|
||||
Edit `default.tfvars` to match your requirement.
|
||||
|
||||
NOTE: when you prefer use Flatcar Container Linux instead of the basic Hetzner Images.
|
||||
Flatcar Container Linux instead of the basic Hetzner Images.
|
||||
|
||||
```bash
|
||||
cd contrib/terraform/hetzner
|
||||
cd ../../contrib/terraform/hetzner
|
||||
```
|
||||
|
||||
Edit `main.tf` and reactivate the module `source = "./modules/kubernetes-cluster-flatcar"`and
|
||||
|
@ -70,8 +70,6 @@ Rescue-Mode with the selected image of the `var.machines` but installs Flatcar i
|
|||
|
||||
Run Terraform to create the infrastructure.
|
||||
|
||||
NOTE: Assumes you are at the root of the kubespray repo.
|
||||
|
||||
```bash
|
||||
cd ./kubespray
|
||||
terraform -chdir=./contrib/terraform/hetzner/ init
|
||||
|
|
Loading…
Reference in a new issue