I am working on setting up a home server but I want it to be reproducible if I need to make large changes, switch out hardware, or restore from a failure. What do you use to handle this?

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 10 months ago (3 children)

I went the nuclear option and am using Talos with Flux to manage my homelab.

My source of truth is the git repo with all my cluster and application configs. With this setup, I can tear everything down and within 30 min have a working cluster with everything installed automatically.

  • source
  • hideshow 3 child comments
  • [–] 1 point 10 months ago (2 children)

    Are you using selfhosted git? Which one?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 10 months ago

    I have a similar setup, and even though I am hosting git (forgejo), I use ssh as a git server for the source of truth that k8s reads.

    This prevents an ouroboros dependency where flux is using the git repo from forgejo which is deployed by flux...

  • source
  • parent