A guide on how to create a cluster.
This guide shows you how to create a cluster from registered machines.
First, click the "Clusters" section button in the sidebar. Next, click the "Create Cluster" button on the right.
You may name the cluster, as well as specify the version of Talos Linux and Kubernetes that the cluster should be created with. You may also enable optional cluster features, such as Disk Encryption or Workload Service Proxying.
From the Available Machines list, select the role (CP for control plane, WX (where X is a number) for workers) for each machine you would like to be a member of the cluster. Optionally, choose the install disk for the OS from the dropdown menu for each machine.
Finally, click “Create Cluster”
Create a file called cluster.yaml
with the following content:
If enabling optional features such as disk encryption, add them to the Cluster document e.g.:
Now, validate the document:
Create the cluster:
Finally, wait for the cluster to be up:
Create a file called cluster.yaml
with the following content:
Be sure to create machine classes control-planes
, workers
and secondary-workers
beforehand. See machine classes how-to.
Now, validate the document:
Create the cluster:
Finally, wait for the cluster to be up: