Skip to content

Creating clusters

After you booted and registered your first host(s) for STACKIT Edge Cloud (STEC) the next step is to create a cluster. This guide leads you through those steps by example.

Creating a cluster will result in two things:

  • Every host that you select to be part of the cluster will get a machine configuration applied. This effectively results in the host exiting it’s maintenance stage and entering the booting stage while the new configuration is being applied.
  • Kubernetes will be configured as defined by the machine configuration applied. If this is successful the host should switch into the running stage.

Cluster creation can be done using the STACKIT Edge Cloud UI or API and you will need to have at least one host registered with your STEC instance before you can create a cluster.

Prerequisites:

Steps:

  1. Navigate to the Cluster section. You’ll get to the Clusters overview. Click on the top right button ‘Create Cluster’ to get to the respective dialog.

    Screenshot of the STACKIT Edge Cloud web interface, showing the Clusters view.

  2. Enter a cluster name, compliant with RFC 1034. This means: it has to start and end with a letter and may contain only letters, numbers, and hyphens. Then select the desired Talos and Kubernetes versions.

    The Talos version you choose during cluster creation may differ from the Talos version you used when creating the image you booted your host(s) from. If it differs, Talos will automatically perform a downgrade / upgrade of the Talos version when creating the cluster to make sure all nodes of the cluster are running using the same Talos release. A check will make sure the selected Kubernetes version is supported by the chosen Talos version.

  3. Select at least one host to become a Kubernetes node and specify it’s intended role. At least one control plane is required to setup a cluster. From the dropdown select the disk to install Talos on. The resulting cluster configuration should look similar to the one shown next.

    Screenshot of the STACKIT Edge Cloud web interface showing the Create Cluster form.

  4. (Optional) you may provide config patches for the machine configuration on the cluster level and/or at the machine level. The resulting machine configuration will be merged with the configuration applied on the machine level having precedence over the configuration defined at the cluster level.

    Talos is completely managed through a so called machine config. STEC generates this machine config on the fly based on the information you provide in this dialog. If you need to further customize the generated machine config please refer to the advanced section.

  5. Click on the Create Cluster button to initiate the cluster creation process. You’ll immediately see that the chosen host(s) enter the booting stage and, if the configuration is successful, finally enter the ready stage.

    Console screenshot of a Kubernetes node (Talos OS) showing the system in a Maintenance state.

    Console screenshot of a Kubernetes node (Talos OS) showing errors during image pulling.

    Console screenshot of a Kubernetes node (Talos OS) showing initialization and boot logs.

    Console screenshot of a Kubernetes node (Talos OS) in running state, with most components (control plane, Kubelet, API-Server, Scheduler) reported as healthy.

  6. After a few minutes the cluster should report ‘ready’. The cluster creation process is complete.

    Screenshot of the STACKIT Edge Cloud web interface, now showing the Clusters view with a single cluster created.