making cool stuff in a time-constrained way| bytes.zone
Well, it's March 4 already, so it's about time to wrap up the first month with a short post. What'd I get done this month? Well:| bytes.zone
I've been setting up a personal Kubernetes cluster recently.| bytes.zone
This week has been wild but I've got an update: I'm now That Person who has a static site blog running on a Kubernetes cluster. 😆| bytes.zone
I got Woodpecker working, but the first job I did (a nix build) totally froze up the whole cluster for like an hour and a half, and didn't even complete successfully. Pretty yikes. Looking at this realistically, I don't want to buy the size nodes that I would need to do this properly, so it probably makes sense for me to use a hosted service (probably just a free one!) If I had a bunch of money to throw at this problem, though, I'd probably use Woodpecker. It was pretty nice!| bytes.zone
which CI solution should I use?| bytes.zone
So this morning was shaving yaks. (I mean, what infrastructure project isn’t?) I got up thinking I’d spend a couple hours before work setting up Keycloak, but then I realized that it needs a Postgres database for a proper setup, so I comparison shopped Postgres operators. But in testing out my choice, I realized that the region I deployed the cluster into doesn’t have support for NVMe drives. No good for databases!| bytes.zone
Over the past few days I've been working on getting Kubernetes serving apps. As of this morning I have a sample web app (the Kubernetes guestbook example, minus Redis) running on my cluster, frontend by a load balancer, and with a certificate provisioned by Let's Encrypt to communicate with CloudFlare, who terminate SSL from the browser with their own cert.| bytes.zone
I talked to a few people yesterday—it sounds like Kubernetes is where it's at. I really enjoyed Nomad back in the day, but it looks like I'd have to do a lot of roll-your-own, which kind of negates the benefit of operational simplicity for me.| bytes.zone
The first thing on my "meta" list is to get my house in order with how I deploy things. Right now I have a single VM in DigitalOcean that runs my blog, git.bytes.zone, and a couple other smaller static sites. (See clown computing.)| bytes.zone
kicking off thing-a-month| bytes.zone