Replacing Kubernetes with systemd (2024)
Published on: 2025-07-25 11:40:14
Yes, I'm fully aware those are two separate things, but hear me out here for a moment.
Back in 2018 I was hearing a lot of stuff from all angles and all sorts of friends and influences about Kubernetes, and from what I heard it seemed like a pretty promising piece of kit to use. At the time, I actually went out and bought a NUC to act as a little hypervisor so that I could play around with a small cluster at home.
Funnily enough, my blog post on this was six years ago to the very day.
The main lesson that I learned is that although Kubernetes is made up of all sorts of pieces and web services and sidecars and webhooks, basically acts as a giant while loop as follows:
while (true) { var current_state = GetCurrentState(); var desired_state = GetDesiredState(); var diff = CalculateDiff(current_state, desired_state); ApplyDiff(diff); }
If I said there should be a Pod here, and there wasn't, Kubernetes would create it. If I said there should be 3 replicas and there were 4, Kubernetes w
... Read full article.