Skip to content

Kubernetes

Talos and Cilium with BGP Load Balancing on MikroTik

In this post, I’ll build a Talos Linux Kubernetes cluster on Proxmox with Cilium as the CNI, and use BGP to announce LoadBalancer Services to a MikroTik router. The router learns a route to every Service IP through each of the workers, and spreads the traffic across them with ECMP. On top of that, the Cilium Gateway routes host names to applications behind a single IP.

Local Development With Mirrord

With Mirrord you can intercept traffic for your pods in your Kubernetes cluster, which allows you to develop your application locally as if it was deployed in your cluster. Utilizing the pods network, environment or even the filesystem. In this post I will be writing some examples that I personally use.

Creating Kubernetes CRDs with Rust

You can extend Kubernetes with your own custom objects, but before you can do that you will need create a Custom Resource Definition so that Kubernetes knows what the object is allowed to look like. In this post I will create a very simple Kubernetes CRD for a Book kind using Rust and kube-rs.

Setup Google Cloud Workload Identity in GKE

Using a Google service account in your GKE cluster is easy, just create the credential file, apply it as a secret and it's ready for use. But now you have a long lived credential that, if compromised, can be used from anywhere any time. Instead you can use a Kubernetes service account and Google Workload Identity to authenticate to Google Cloud. No need for credential files anymore.