A while back I wrote about bootstrapping a Kubernetes cluster. I’ve been refining the setup so that it requires as little manual
kubectl‘ing as possible. I still use ArgoCD to get everything rolling, and there is one bit that kept going red: persistent volumes.
This year was quite thick in events so I decided to write a year retrospect for a change. I read somewhere that people tend to do wild things when they’re nearing a “round” age like 30, except I read about this after I planned most of the stuff listed below… It definitely did turn into a very eventful 30th.
I wish it could be completely automated… But for now I’ve just automated as much as possible (and convenient). The ingredients:
- Sealed Secrets
- Argo CD and Argo Rollouts
- Prometheus and Grafana
I have a repository for the purposes of playing around with Kubernetes tooling like this – and hopefully turn it into an actual application eventually. I have big plans and lots of stuff I want to try out, but time is limited. All the code examples in this post use the namespaces and naming choices in the repository. The folder structure (relevant to this bit) is like…
system ├┬ apps │└─ (bootstrapped Argo CD app manifests) ├┬ argo │└─ the local "umbrella chart" for Argo CD and Argo Rollouts ├┬ bootstrap │└─ boilerplate project and application manifests └┬ manifests └─ manifests I didn't bother turning into a Helm chart referenced by the raw-manifests.yaml application
We’ve got a printer in the office. I’m not sure how the network is organized, but it’s on a different IP range than the rest of the dev network. And for some reason I couldn’t get it to work.
I’ve had most of my stuff running a k3s “cluster” for the past half a year or so. The whole setup runs on a single $5-a-month Digital Ocean droplet with 1vCPU and 1GB of memory.
Needless to say, it doesn’t take much to bring the whole thing to its knees. While it has no issues dealing with the little traffic my blog receives, I would accidentally bring it down occasionally when I install a Helm chart that turned out to be much heavier than I’d thought.
Living in a city for most of the time it’s always surprising just how clear the sky can be and how bright the stars can be once you’re in nature. That struck me at Mti Mkubwa too, the first camp on Kilimanjaro. “Oh, so that’s why it’s called the Milky Way!”
We started the day with a dancing-singing introduction from the porters and guides. It felt like we were at leisure of time, in no rush whatsoever. We woke up “early” of course (compared to when I’d normally wake up) but only left well past eight.
The Ocean was one of the first “djent bands” in my library, so I was really happy when I heard that they will be playing live in Tokyo. It was also my first time visiting the famous Shimo-Kitazawa area and also ages since the last time I’d been to such a small venue.
I didn’t realize there would be four (!) other bands playing too, The Ocean had all my attention. Some of them were more experimental (reminding me of Deafhaven) while others less so, but to be honest after a while they just felt long.
But the wait was worth it, as The Ocean delivered magnificently. It was also fun to see the community culture centered around the venue. Reminded me a lot of the university music club.
I’ve been thinking about climbing Tanzawa for a long time. It’s close to Tokyo and access is good. At the same time, depending on the route it can be exciting and long as well. The way I chose, starting from the Yabitsu pass, then going down towards Miyagase was both.
Having played around with the managed Kubernetes offerings of various cloud players (DO, AWS, GCP), I was wondering if it was possible to do this cheap. My site doesn’t have much traffic or anything complicated really, so running it off a $5 DO droplet is reasonable. Sadly managed Kubernetes offerings won’t come out so cheap. (Sure I could leech off the starting $300 GCP credit for a year then keep hopping accounts, but…)
Then I read about k3s. The people behind Rancher made it as a lightweight (but functionally complete) Kubernetes distro. Lightweight, they say… Just how light? (Imagine a weird maniac light in my eyes here.) Could I run it on a $5 droplet?
Tagsahol álmomban jártam ale anime art beer blog code coffee concoct english fansub fest filozófia gaming geek hegymász ipa kaja kocsma kubernetes kultúra lager league of legends literature live magyar pilsner politika python rant seven summits stout study travel társadalom ubuntu university weather work zene 就活 日本 日本語 百名山 艦これ