Replies: 2 comments 2 replies
-
Well, I got a first version of my Ansible role that deals with some of that stuff: https://github.com/alexpdp7/alexpdp7/tree/master/personal_infra/playbooks/roles/talos It's very crummy and hacky (only does single-node clusters for now, only on Proxmox, doesn't deal great with failures...). I'm keeping the secrets file in the repo, vaulted, everything else is regenerated on the fly. Due to not setting a DHCP client id, I need to do some extra stuff to get things working fully automatically (without having to manage MACs, etc. manually). I let the host boot, then peek the IP from the DHCP server. |
Beta Was this translation helpful? Give feedback.
-
OK, I have polished my Ansible role and documented it a bit: https://github.com/alexpdp7/alexpdp7/blob/master/personal_infra/playbooks/roles/talos/README.md I think it's nifty, because in less than four minutes, the role creates the VM in Proxmox and sets up a cluster. It's still a single-node cluster, but it works fairly well. (It can even manage multiple clusters.) I think the docs should be something like this: Configuration management of Talos clustersTalos lends itself well to deploying clusters using infrastructure as code. The following steps describe a procedure to maintain clusters using infrastructure as code.
The secrets file and configuration patches describe a cluster deployment completely. For an example of this strategy, refer to this sample Ansible playbook for creating Talos clusters in Proxmox. |
Beta Was this translation helpful? Give feedback.
-
I think Talos is great for personal infra. I've been looking at Fedora CoreOS, but Talos looks like a simpler way to get a cluster running in a "full-stack" fashion; management of the OS and the cluster in one go.
I'm thinking about a single node running control plane and worker, and perhaps some extra worker (my use case for this is having an ARM worker for CI/CD).
However, I think the following pieces would go a long way towards supporting hobby users (from high to low):
feat: dhcpv4: send current hostname, fix spec compliance of renewals #5897 : this would make things a little easier, and not require me to manage MAC addresses or deal with cloud-init.talosctl gen secrets
, there seemed to be private keys in the rest of manifests.Move to the official docs how to make the control plane schedulable ( Can one machine be both control-plane and worker node? #5101 ).docs: add how tos for workloads on control planes, and scaling up #6885So, except for the DHCP hostname issues, IMHO having a great "hobby" experience with Talos is only a matter of... documentation? I'm probably going to publish some documentation on that as I try to set up my cluster- but if there's interest, I wouldn't mind trying to do that as PRs to the docs (but really, before putting the effort, I'd like to know if there's a good path to getting those merged).
(Given the Proxmox instructions, I feel that Talos has in its priorities a good "hobby" experience. I do think that people that have successful experiences with Talos for personal purposes might recommend purchases at their jobs...)
Beta Was this translation helpful? Give feedback.
All reactions