CRDs FTW: Eirini’s Journey from REST to CRDs
summary
Eirini replaces a procedural REST API with a Kubernetes-native CRD model and a working controller that reconciles desired state to actual pods; the team uses controller runtime and controller-tools libraries instead of full kubebuilder scaffolding, borrows kubebuilder code selectively, and reports successful CRD-based APIs and a released eirini-controller project. Challenges include translating callbacks to resource updates, hiding implementation resources, converting client code to the controller runtime client, and adding leader election for HA.
AI-written summary · about
