Expose Kubernetes With Cloudflare Tunnels

As a homelab or self-hoster who has deployed a couple services and would now like to access their services from outside their home network, you may have come to the dilemma of … how? If you don’t want to read my rambling, you can skip to Setting up. To make the long trek from your coffee shop / office / airport to your home network, you will need a couple things coming together:...

February 11, 2024 · 4 min · 727 words · Hans Song

Adopting Helm Resources

Recently, I undertook a big migration from CDK8S to Helm. While CDK8S provided the ability to generate Kubernetes manifests in an imperative way using my language of choice, I noticed it can encourage bad habits. In making it easy to abstract and my apps became littered with custom logic and conditionals. This goes against the principles of IAC in which your infrastructure should be declarative. During the migration, I whipped up the following script which adds annotations and labels to an existing app which allows me to use kubectl diff to cross-check my migration....

November 21, 2023 · 2 min · 268 words · Hans Song