Files
Serge Logvinov 71dbd19fdc worker nodes
2024-08-14 19:09:55 +03:00
..
2024-08-13 16:15:13 +03:00
2024-08-14 18:10:58 +03:00
2024-08-14 19:09:55 +03:00
2024-08-13 11:31:41 +03:00
2024-08-12 19:12:03 +03:00
2022-08-16 15:47:30 +03:00
2024-08-12 19:12:03 +03:00
2024-08-13 15:39:05 +03:00
2024-08-13 15:39:05 +03:00
2024-08-13 16:32:26 +03:00
2024-08-13 15:39:05 +03:00
2024-08-12 19:12:03 +03:00
2024-08-12 19:12:03 +03:00
2024-08-13 15:39:05 +03:00
2024-08-13 16:32:26 +03:00
2024-08-13 11:31:41 +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-config create-templates

open config file terraform.tfvars and add params

# counts and type of kubernetes master nodes
controlplane = {
    count = 1,
    type  = "COPARM1-2C-8G"
}

instances = {
    "all" = {
      version = "v1.30.2"
    },
    "fr-par-2" = {
      web_count    = 1,
      web_type     = "COPARM1-2C-8G",
      worker_count = 1,
      worker_type  = "COPARM1-2C-8G",
    },
}

Bootstrap all the infrastructure

make create-infrastructure

# see terraform output: controlplane_config
talosctl apply-config --insecure --nodes $IP --config-patch @_cfgs/controlplane-1.yaml --file _cfgs/controlplane.yaml

make bootstrap
make system