Tag: #controller-runtime
Writing on GPUs, LLMs, MLOps, Kubernetes — and mindset · 6 posts
Operator Observability — Metrics, Events, Logging, and SLOs
A deep dive into observability for Kubebuilder-based Operators across metrics, events, logging, tracing, status/conditions, and SLOs. From the meaning of controller-runtime default metrics to adding custom metrics, wirin
2026-06-15 · 19 min read #kubernetes#operator#observability#prometheus#controller-runtimeControllers Without CRDs — Patterns for Automating Existing Resources
Not every automation needs a CRD. A controller that watches built-in resources alone can automate internal operations like ConfigMap/Secret sync, namespace bootstrap, and node labeling. We cover code that implements this
2026-06-15 · 13 min read #kubernetes#controller#controller-runtime#automation#client-goBuilding a Database Operator — Backup, Failover, and Scale as Code
A code-driven walkthrough of solving the hard parts of stateful database operations with a reconcile loop. We cover CR spec design, reconciling StatefulSet/Service/PVC, periodic backups, failover and leader-election conc
2026-06-15 · 14 min read #kubernetes#operator#database#kubebuilder#controller-runtimeProduction Operator Upgrades and Migration — Evolving Without Downtime
A complete walkthrough of safely upgrading an Operator in production. It covers rolling the controller Deployment with leader election, multi-version CRDs and conversion webhooks, phased rollout of managed workloads, rol
2026-06-15 · 22 min read #kubernetes#operator#kubebuilder#controller-runtime#crdThe Reconcile Loop in Depth — Idempotency, Error Handling, Queues, and Performance
A deep dissection of the reconcile loop: the request flow (informer to workqueue to reconcile), Result and requeue, idempotency patterns, status and conditions, predicate event filters, rate limiting and concurrency, cac
2026-06-15 · 18 min read #kubernetes#operator#reconcile#controller-runtime#performanceBuilding Your First Operator with Kubebuilder — From Project Creation to Deployment
Build a working Operator end to end with Kubebuilder. Covers prerequisites, the init/create api flow, defining API types, the full reconcile code that manages a Deployment and Service, RBAC markers, CRD generation, local
2026-06-15 · 10 min read #kubernetes#kubebuilder#operator#controller-runtime#go