Files
terraform-talos/scaleway
Serge Logvinov 01bb03d903 Update version
2022-09-05 17:35:50 +03:00
..
2022-09-05 17:35:50 +03:00
2022-09-05 17:35:50 +03:00
2021-08-22 17:43:37 +03:00
2022-08-16 15:47:30 +03:00
2021-08-22 17:43:37 +03:00
2022-08-25 17:53:50 +03:00
2022-06-23 13:29:07 +03:00
2022-06-23 13:29:07 +03:00
2022-09-05 17:35:50 +03:00
2022-08-11 18:37:17 +03:00
2022-06-23 13:29:07 +03:00
2022-06-23 11:45:12 +03:00
2022-09-05 17:35:50 +03:00
2022-06-23 11:45:12 +03:00
2022-06-23 18:36:02 +03:00
2022-09-05 17:35:50 +03:00

Terraform example for Scaleway

Local utilities

  • terraform
  • talosctl
  • kubectl
  • yq

Kubernetes addons

Prepare the base image

Use packer to upload the Talos image.

Install control plane

Generate the default talos config

make create-lb create-config create-templates

open config file terraform.tfvars and add params

# counts and type of kubernetes master nodes
controlplane = {
    count = 1,
    type  = "DEV1-S"
}

instances = {
  web_count            = 1,
  web_instance_type    = "DEV1-S",
  worker_count         = 1,
  worker_instance_type = "DEV1-S",
}

And deploy the kubernetes master nodes

make create-controlplane

Then deploy all other instances

make create-infrastructure