r/TalosLinux • u/Mrdevilhorn • Sep 12 '25
Kubernetes Operator to manage Talos Linux cluster(s)
https://github.com/alperencelik/talos-operatorI've been a huge fan of Talos Linux, but the one thing that's always kind of bugged me is the reliance on a CLI tool for the initial bootstrap and provisioning.
I'm just much more at home with the declarative, KRM-style of doing things, so I spent some time building an operator that tries to solve this. It lets you define a Talos Linux cluster as a Custom Resource inside a managing Kubernetes cluster. You just need to have your machines waiting in "Maintenance" mode, and the operator takes over to manage the rest.
I wanted to post it here for a sanity check and would love to hear what you all think.
5
u/zrail Sep 12 '25
This is basically why Omni exists, fwiw. From what I understand (I don't run it) Omni spits out a customized Talos image for you that you then boot on all your machines, which then announce themselves on boot and Omni then runs the rest of the show. It's self-hostable as a single docker container plus auth, which has really been the sticking point for me.
2
u/MoTTTToM Sep 12 '25
Looks interesting, I’ll give it a try. I’ve been gettin some success with Cluster API, which seems to have a similar use-case. Not sure if you have evaluated it, and can advise how your solution compares?
2
u/Preisschild Sep 12 '25
I'm using CAPI for this, but yeah i like the operator pattern to manage talos too.
Hopefully i find some more time to help maintain/improve it though
1
u/namnd_ Sep 13 '25
Maybe i’m missing something but don’t you need an existing cluster to install this?
3
u/utkuozdemir Sep 12 '25
Nice project, keep it up!
0
u/[deleted] Sep 12 '25
[deleted] — view deleted comment