Most VPS solutions have a pretty limited selection of OS's that are available to install on your VPS. Talos is unlikely to be one of the options. While some VPS providers may allow you to open a ticket and receive help installing from a custom ISO, I didn't want to do that. I wanted a way to self-serve and get this installed. This took a bit of digging to learn some of these tools a bit more than I had in the past, but I think this is in a good place.
I haven't permanently put these nodes in my cluster yet, but did verify that I could get an installation done successfully.
FYI, this was tested on inexpensive (3 core, 3 Gi ram, 50Gi disk) VPS instances from Racknerd.
- Enable rescue mode
- SSH into rescue instance
- Run the following shell commands in the
setup-talos-disk.sh
(I executed them individually because the rescue image had basically nothing to download the script or anything more convenient) - Exit rescue mode
- Apply your talos config (
talosctl apply-config --insecure --file /path/to/talos.yaml -n host-or-ip-for-node
)
Warning
The script currently assumes a lot of things with the main things like:
- The rescue linux instance is debian stretch
- THE VPS instance disk is /dev/vda
Use at your own risk!