Update: 2025-12-11
Preamble
If this post is weird and stream of consciousness like, that’s by design.
You are seeing a notes and miscellanea post, in the work category.
I want to be able to think through what I am doing. Mostly to clarify, document and explicitly state what I want. To avoid shifting goalposts (or rather to shift them intentionally, if need be.)
I’ll be updating and revising this post as I think and learn and experience things
Goals
- Think about and write what I want to get done with my hetzner
- For now, the how does not matter
What I want
- A VM running K3s, that I can deploy my Hugo website to, as well all the apps that I choose to run on Janusworx
- My main need with a cluster is the GitOps aspect. Not the scaling or redundancy. I want infrastructure as code and automated updates, as much as possible.
- Everything goes through my Forgejo instance at home
- I write a post and it should deploy to the website somehow
- Apps that I put in there, either just my config files of already published images/deployments, or my own custom things, ought to be pushed to or pulled by the cluster and deployed. Upgrades should be a matter of manipulating code
- Secrets should be self hosted, via environment variables or some self hosted solution. Never at a third party service
2025-11-06 09:35
- Got tangled with Hugo in the morning.
- I think I got the basics down, the VM comes up. K3s in installed, but in what order do I move my apps over?
- Think I’ll the root domail last. And try beginning with the “simpler” apps first
- Begin with familiarising myself with Helm
- 2025-11-06 10:06: Tea break
- 2025-11-06 13:06: Lunch break
2025-11-06 16:00
- Back. Trying to port my dev terraform setup to production. It should just work. But it does not.
- 2025-11-06 16:59: Solved. I had somehow borked my Terraform state. Nuked it. And then things started working again
- Show stopper now. My GPG key has expired. Need to figure out how to sign my git commits with SSH now
- 2025-11-06 18:26: I think I’ve licked it. Both Github and Forgejo don’t seem to be complaining. Let’s see what else I’ve broken over the coming days
- 2025-11-06 20:00: Done! My production cluster is up! And I can tear it down and build it up consistently. Now to work with it tomorrow.
Feedback on this post?
Mail me at feedback at this domain.