Adding a new node to a cluster
How to add a new node to a cluster
Prerequisites
To add a new node, it's assumed that you have set up the Talosconfig, any required CLI tools and have the required Talos machine configurations.
The configurations for Talos has a lot of options and sensitive secrets, until we have a method to share the configurations securely and correctly configured it's easiest to ask another developer to help if you don't have the required configurations and/or know how to configure a new machine. Cloud instances usually don't require any configuration, meanwhile dedicated root/robot servers might require network configuration depending on what DC it is in and what disks it has.
Adding a cloud instance
Adding a new cloud instance is fairly straight forward since we can simply use the Hetzner CLI. First make sure you have set up your talosconfig and then run:
Adding a root server
First make sure that you've prepared the dedicated machine, this requires booting into the rescue system. Installing Talos, document any disk UUIDs and potentially setting up it's own config. After restarting the machine (sometimes requires a few tries), the machine can be loaded with a configuration.
The insecure flag is only required the first time when bootstrapping, this is since the node you try to connect to doesn't have a certificate yet. After bootstrapping the node will expect you to use the correct certificate.