Optimistic Concurrency and Other controller-runtime Gotchas
March 18, 2026
The Kubernetes API uses optimistic concurrency control. If you don’t understand resourceVersion, your controller will fight itself.
With nearly 10 years of experience helping teams build, test, and deliver reliable software faster — from application code to the infrastructure it runs on.
March 18, 2026
The Kubernetes API uses optimistic concurrency control. If you don’t understand resourceVersion, your controller will fight itself.
February 10, 2026
The controller-runtime cache can list resources by namespace and name. Custom indices let you query by any field.
Read MoreJanuary 14, 2026
You run two replicas of your controller for availability. Without leader election, both try to reconcile the same resources at the same time.
Read MoreDecember 1, 2025
Deletion in Kubernetes is instant — unless a finalizer says otherwise. Here’s how to run cleanup logic before a resource disappears.
Read MoreOctober 7, 2025
Your controller creates a Deployment. The Deployment changes. How does your controller find out? Owner references and secondary watches.
Read MoreSeptember 22, 2025
Spec is what the user wants. Status is what the controller observes. Keeping them separate is how you avoid infinite reconcile loops.
Read More