Self managed sharded workqueue for scaling controller #4793
-
Current concurrency control in controller framework does not provide a way to dynamically route a specfific subset of events to one of Apart from Retry/Forget what all caveats i should keep in mind? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Thanks for raising this! I’m not entirely sure I follow your question fully, so just to clarify how the current model works:
I suggest checking these sections of the Kubebuilder book for foundational insights:
If I misunderstood your intent or setup, feel free to share more details, and I’ll be happy to take another look! |
Beta Was this translation helpful? Give feedback.
-
Closing as sorted out, if you need feel free to re-open. |
Beta Was this translation helpful? Give feedback.
Hi folks 👋
To avoid triggering reconciliations on all events, you can use predicates in the watch setup:
Hope that helps!
As for changing this behaviour in controller-runtime, I don’t think it's within scope—it’s working as designed. If you feel strongly, you could raise an RFE about it, but your goal might already be achievable with existing code implementation and features (unless I misunderstood).
Also, could you clarify what you'd like from Kubebuilder in this case? We rely on controller…