1
0
Fork 0
terraform-playground/k8s-single-node
2022-05-29 13:37:13 +02:00
..
.terraform.lock.hcl single node k8s 2022-05-29 13:37:13 +02:00
cluster.tf single node k8s 2022-05-29 13:37:13 +02:00
firewall.tf single node k8s 2022-05-29 13:37:13 +02:00
plan.out single node k8s 2022-05-29 13:37:13 +02:00
provider.tf single node k8s 2022-05-29 13:37:13 +02:00
README.md single node k8s 2022-05-29 13:37:13 +02:00
secret.auto.tfvars.example single node k8s 2022-05-29 13:37:13 +02:00
server.tf single node k8s 2022-05-29 13:37:13 +02:00
ssh.tf single node k8s 2022-05-29 13:37:13 +02:00
terraform.tf single node k8s 2022-05-29 13:37:13 +02:00
user-data.yaml.tpl single node k8s 2022-05-29 13:37:13 +02:00
variables.tf single node k8s 2022-05-29 13:37:13 +02:00

Sets up a single node all-on-one k8s cluster

  • 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