Goals + Recap
- I think, I think, that most of the fundamental pieces are in places after yesterday’s work.
- The Big Plan is done!
- Now to move each production item from the old VM to the new cluster.
- Today, figure out http to https redirects. And move one app.
- Note to Self: Quit at 1p. Get back to life.
The Big Plan (Done! 🎉🎉🎉)
- The plan is to redo the cluster again and do my own instance of
- K3s
- Sealed Secrets
-
Certmanager(Not using it) -
Letsencrypt(using pre existing Letsencrypt certs) - Get Traefik Ingress to work
- Figure out a way to get certs automatically into the cluster
- And once that is done, figure out an app to move (Miniflux or Hedgedoc?); 2025-12-03: Kanboard it is!
- Begin by moving (lifting and shifting in popular parlance) Kanboard to the cluster
- Cert will probably be needed (Wildcard cert works now, just like it does without the cluster)
- Convert a docker-compose to kubernetes manifests
- Learn how to configure an app with code
- Learn how to store data and back it up
- Figure out secrets, if there are any (for now sealed secrets ok, figure out vault and vault injection later)
- Learn how to tunnel through and reverse proxy
- Make Kubernetes manifests work with flux
- Figure out how to automate deployment of manual manifests
- Figure out how to migrate there if there is any in an old app
- Figue out how to automate updation of images in manual manifests
- Get another app (Miniflux) deployed
- Figure out what needs to happen as part of the lifecycle. What you want in the cluster, what stays out, do they intersect, how do updates of cluster happen? VM (node) updates as well?
- Then begin to think along the lines of Live Deploys. Prototype locally and once it works, migrate to production immediately
- Convert Kubernetes manifests to Helm Charts (optional, based on energy)
- Go live! Git is source of truth. Two repos.
- One for the Main node and its update
- Terraform will provision node and install package, setup firewall
- Figure out how to get Terraform to get the node talking to the git forge
- Structure repo, copy every thing node related there, and make sure stuff gets updated periodically and idempotantly, via ansible pull and a systemd timer
- The other one for k3s and flux
- Convert everything I have done locally to run on prod. Add more steps as you do them below
- One for the Main node and its update
2025-12-11 09:30
- The night passed well for the new VM. It rebooted on time, just as scheduled. Hetzner backed it up, just as instructed.
- 2025-12-11 09:37: Also, Oi, wot? Traefik natively supports what I have been trying to do with Lego! Get Lego to generate certs and install them as a sealed secret into the cluster for Traefik to use. Will try to figure out what to do once my Letsencrypt jail time gets over. Maybe do both. Traefik can handle stuff for the cluster and Lego can get them as well and keep them in another place in the VM in case I need it outside the cluster.
- 2025-12-11 09:55: Don’t think I want to work on the VM today. Will sit and read a book about Traefik. Tea Break
2025-12-11 10:15
- Back. Begin reading!
- 2025-12-11 12:42: Lunch. Finished half of the book. Will do the rest after lunch.
2025-12-11 13:05
- Back to the book.
- 2025-12-11 13:30: Done with the book. Nap time!
2025-12-11 17:15
- Did my Duolingo and had a long walk after quite a few weeks
- 2025-12-11 17:16: Reading Traefik docs
- 2025-12-11 17:54: Client call
2025-12-11 18:35
- Back.
- 2025-12-11 19:12: Shutting down for the day!
Feedback on this post?
Mail me at feedback at this domain.