omni
omni copied to clipboard
[feature] Support for importing existing Talos cluster
Problem Description
I've been playing around with Omni at home and its fantastic for spinning up new clusters without much preparation. However, I've got a well-defined process for deploying Talos via iPXE that is pretty much hands-off and it works well. I'd love to be able to manage upgrades and monitor my existing deployment via Omni. Will there ever be a way to import an existing Talos cluster into Omni?
Solution
No response
Alternative Solutions
No response
Notes
No response
The other thing this could enable would be to setup a single-node talos cluster to host Omni, then import that "management cluster" into Omni after Omni gets installed... this might wreak havoc on things like upgrade processes and such though, so maybe should be careful with this use-case as I think about it. This is a bit like how Rancher behaves, they've got the upgrades thing figured out, so it's gotta be possible :)
Importing existing clusters into Omni is not supported.
Managing the machine which runs Omni using Omni is not going to be something that we're looking for, as we know this flow is too fragile.
A workflow for importing existing clusters would be helpful for people that have existing clusters, in particular single node edge clusters that want to switch over to omni
I think we'll get to that task eventually, just not right now.
The question is also what importing means here, I personally would be fine with a workflow that wipes/resets the cluster to join omni.
The question is also what importing means here, I personally would be fine with a workflow that wipes/resets the cluster to join omni.
You can join the machines which were part of the vanilla cluster even today. For that you need to:
- download machine join config from the Omni home page.
- reset the machines you want to join
talosctl reset -n <id> --system-labels-to-wipe=STATE. - run
talosctl apply -f machine-config.yamlwheremachine-config.yamlis what you downloaded from Omni.
After that the machine will join Omni.
Importing a cluster preserving the state is more complicated as in that case we need to rebuild whole resource state for the cluster in Omni.
Would it not be possible that one would just use omni as graphical ui (for upgrades etc) for an existing cluster? So basically omni would just need the talosconfig to import and then use the api to do upgrades and adding new users.