-
How to Upgrade Kubeadm Kubernetes Clusters The Fast Way
My home lab Kubernetes cluster built with kubeadm hasn’t got an upgrade for a while, still at 1.29 which was first released roughly 2 years ago. And the latest is 1.33 already. According to the official kubeadm docs Skipping MINOR versions when upgrading is unsupported. Which basically says, if you try to upgrade from 1.29…
-
Unit Testing in Jsonnet
For the time being(April 2025), there doesn’t seem to be a de facto Jsonnet framework for unit testing. Yet with simple assert statements it’s very helpful to have tests for shared functions, etc. 🙂
-
Slow Refresh in ArgoCD? Scale It Up
TL; DR: I merged a few ArgoCD clusters together into a central ArgoCD last week, just to have 1 ArgoCD to manage multiple GKE clusters. Obviously this will cause some performance issue – the more apps I have, the longer it takes to refresh in ArgoCD. Here’s a simple way to scale it up. For…
-
Never Buy a Tesla, Part 2
I wrote the Never Buy a Tesla 4 years ago, which essentially a click-bait. I didn’t have any trouble with my car so I recommend it to my friends and a few of them bought a Tesla too. Not like a legit Tesla fan with a collection of Tesla swags and souvenirs, but I consider…
-
How to Drop Unwanted Metrics with Google Managed Prometheus
TL; DR: some prometheus exporters such as kube-state-metrics do emit a LOT of metrics and that will make a difference in your next bill so here’s how to drop them. 🙂
-
A Deep-merge Function for Jsonnet
TL; DR: As of March 2025, there’s no deep merge function in Jsonnet’s standard library yet. So I wrote something myself. Not sure if I should do a PR to contribute but my last attempt was still there hanging 🙂
-
Solved: Couldn’t Delete istio-system Namespace
The other day, I was playing with ArgoCD application sets and by mistake renamed an application owned by its application set. What’s worse is, the application is istio. By the default logic an application set will delete the old application and create one with the new name, so the istio application was being deleted. I…
-
How to Deploy to Multiple Clusters with ArgoCD
TL; DR: here are the steps to deploy to multiple Kubernetes clusters using a single ArgoCD server + Application Sets. Let’s get to it. Add a Kubernetes Cluster to ArgoCD First, we’ll use the argocd CLI. Just in case you don’t have it yet, it’s easy to install. Assuming kubectl is already configured and has…