Replies: 2 comments
-
+1 for this proposal!! Extra note: I think this implementation is carefully designed so that
|
Beta Was this translation helpful? Give feedback.
-
Hi @kersten, @everpeace Thanks a lot for sharing this — it's a very interesting and well-thought-out project that solves a real problem at scale. That said, we don’t see a strong reason to include controller sharding into the default Kubebuilder scaffold at this time. Kubebuilder’s goals are very specific:
❌ Why we should not integrate this into the default scaffold:
✅ What we do support:We encourage the community to build a Kubebuilder plugin for controller sharding ( if that is desired ) Kubebuilder supports external plugins very well, and this use case is a great fit. 🔧 Start here:
The plugin should live in the controller-sharding project itself, not in the Kubebuilder repo. This ensures:
We currently do not have bandwidth, expertise, or long-term maintenance capacity for such a plugin ourselves. ✅ Final ThoughtsWe're more than happy to support anyone interested in building and maintaining such a plugin — whether it's the project authors or someone else in the community. Kubebuilder can be used as a library, and plugin authors can fully customize the scaffold to support advanced setups like this. Thanks again for bringing this forward ! |
Beta Was this translation helpful? Give feedback.
-
I recently attended a fantastic demo talk at KubeCon London where timebertt/kubernetes-controller-sharding was showcased. This project enables horizontally scalable controllers by sharding reconciliation across multiple active instances. Traditional leader election (one leader at a time) can become a bottleneck for large-scale operators, whereas sharding splits objects among replicas in an active-active fashion.
Why Consider This for Kubebuilder?
Points to Note
v1alpha1
.Request for Feedback
7 votes ·
Beta Was this translation helpful? Give feedback.
All reactions