Skip to main content
The process to run a Talos cluster, on a single node in Scaleway is as follows:

Prerequisites

  • Enable block storage on your Scaleway account (Scaleway will only allow snapshots from their block storage, not URLs)
  • Configure the scw CLI to access your account (optional - you can use the console instead)
  • Have qemu-img and wget installed for image conversion

Image preparation

  1. Download the image disk of the Talos version you wish to run:
You can create your own brew on Talos Factory if you need a custom image. A working extra kernel command line arguments is as follow : -console talos.platform=scaleway console=ttyS0,115200 talos.dashboard.disabled=0
  1. Decompress and convert the image:
  2. Create an S3 bucket (if it doesn’t exist): Go to Object Storage in the Scaleway console and create a new bucket.
Scaleway Console Create Bucket Scaleway Console Create Bucket
  1. Upload to S3-compatible object storage: Use the Scaleway console Object Storage interface to upload the QCOW2 file directly.

Snapshot creation

  1. Go to the Scaleway Web console.
  2. Go to the QCOW2 object in your S3 bucket.
  3. Click on the extra action Import object as snapshot.
Scaleway Console Import As Snapshot
  1. Name the snapshot scaleway-amd64-v, and use a Local Storage snapshot type.

Instance deployment

  1. Create instance using the snapshot/image via GUI, CLI, or Infrastructure as Code tools.
  2. Open the Security Group in order to open TCP/50000 and TCP/6443.
  3. The Talos disk image used to boot is 4.5GB, and is not enough for the EPHEMERAL partition.
  4. Add an extra Disk of 25GB (Local Storage) for Talos EPHEMERAL partition. The Talos OS (4.5GB) will be on /dev/vda and the extra disk for EPHEMERAL partition will be on /dev/vdb. At this point, you can debug and communicate with the instance on —insecure mode :

Talos configuration

As any other Talos instance, generate the Talos machineconfig, with the following patch :
Generate the Talos config :
Also add a VolumeConfig for the EPHEMERAL partition of Talos :
Apply the machineconfig + the VolumeConfig on your Talos Scaleway instance.
At this point, you should be able to communicate with your Talos instance with the right certificates, and debug the Talos instance :

Talos cluster bootstrap

One last command to bootstrap your Talos Cluster :
You can follow the logs with the dashboard, and after couple of minutes, your first Talos standalone single instance cluster on Scaleway will be ready to use.

Notes

  • Because the STATE partition will be written to /dev/vda during the installation, the instance works correctly with Scaleway’s reboot functionality
  • talosctl reset performs the reset operation but don’t start the maintenance mode automatically
  • If you give a bigger disk (let’s say 25GB) for the Talos disk image for the Scaleway Instance, unfortunately Talos won’t be able to expand its volume to 25GB and still see 4.5GB which is not enough for the EPHEMERAL partition