Creating a Talos Linux Cluster on Akamai Connected Cloud via the CLI
This guide will demonstrate how to create a highly available Kubernetes cluster with one worker using the Akamai Connected Cloud provider. Akamai Connected Cloud has a very well-documented REST API, and an open-source CLI tool to interact with the API which will be used in this guide. Make sure to follow installation and authentication instructions for thelinode-cli
tool.
jq and talosctl also needs to be installed
Upload image
Download the Akamai imageakamai-amd64.raw.gz
from
Image Factory
.
Upload the image
Create a Load Balancer
Create the Machine Configuration Files
Using the IP address (or DNS name, if you have created one) of the load balancer, generate the base configuration files for the Talos machines. Also note that the load balancer forwards port 443 to port 6443 on the associated nodes, so we should use 443 as the port in the config definition:Create the Linodes
Create the Control Plane Nodes
Although root passwords are not used by Talos, Linode requires that a root password be associated with a linode during creation.Run the following commands to create three control plane nodes:
Create the Worker Nodes
Although root passwords are not used by Talos, Linode requires that a root password be associated with a linode during creation.Run the following to create a worker node:
Bootstrap Etcd
Set theendpoints
and nodes
:
etcd
:
Retrieve the kubeconfig
At this point, we can retrieve the admin kubeconfig
by running: