Writing a Kubernetes Cloud Controller Manager: Bridging Your Infra to Kubernetes

A Cloud Controller Manager (CCM) connects Kubernetes to cloud or private-infrastructure APIs. Its controllers add provider-specific node data and manage services or routes the cluster cannot create itself. Without a cloud provider that supports them, Kubernetes cannot populate some cloud-specific node fields or provision a cloud load balancer for type: LoadBalancer. I’ve spent a good chunk of time in this code, both building on top of kubernetes/cloud-provider directly and reading through what Hetzner’s and DigitalOcean’s CCMs do differently. This post covers the interface, the four control loops that drive it, the full node/route/service lifecycle, and the patterns worth stealing once you’ve got the basics working. ...

August 6, 2026 · 26 min

Building a Kubernetes CSI Driver: Services, Sidecars, and Volume Flow

Kubernetes does not call a storage vendor directly when a pod mounts a volume. The Container Storage Interface (CSI) defines the gRPC boundary between Kubernetes and the driver that talks to the storage system. I contributed to a production CSI driver and wrote this guide to explain the services, sidecars, and volume calls that are easiest to mix up. The code blocks show focused patterns. They are not a complete, copy-and-run driver. ...

April 24, 2026 · 15 min

How Go 1.25 Changes GOMAXPROCS in Containers

A Go container can be limited to one CPU while the runtime sees all 32 logical CPUs on its node. Before Go 1.25, the runtime could schedule work as if all 32 were available. When a burst of CPU-bound work used the container’s quota, Linux could pause the whole container until its quota renewed. Requests that were ready to run then waited, which can show up as latency spikes under load. ...

January 13, 2025 · 5 min