Files
terraform-talos/scaleway
2022-01-31 22:19:11 +02:00
..
2022-01-31 22:19:11 +02:00
2021-08-22 17:43:37 +03:00
2021-08-22 17:43:37 +03:00
2021-08-22 17:43:37 +03:00
2022-01-29 16:32:00 +02:00
2022-01-29 19:11:07 +02:00
2022-01-29 19:11:07 +02:00
2022-01-29 19:52:31 +02:00
2022-01-29 19:11:07 +02:00
2022-01-29 16:32:00 +02:00
2022-01-28 22:38:35 +02:00
2022-01-29 19:21:15 +02:00
2022-01-29 16:32:00 +02:00
2022-01-28 22:38:35 +02: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-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