r/TalosLinux • • Sep 04 '26

Talos - How to provision a cluster from code instead of CLI?

/r/kubernetes/comments/1w6xuez/talos_how_to_provision_a_cluster_from_code/
6 Upvotes

6 comments sorted by

View all comments

5

u/borg286 Sep 04 '26

Use terraform. There are talos providers that can act on machine configuration and handle installing it, bootstrapping it, and applying configuration. As terraform can be applied repeatedly and it only acts on the delta it makes it well suited for some CICD pipeline that takes your machine configuration from git and applies it to your fleet.

Look up a terraform controller as part of the flux CICD family

1

u/ConclusionOk314 Sep 04 '26

And from a programming language ? I guess the idea is to take the protofiles from Talos repo and directly talk in gRPC