You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, by design, branch planner can't be replicated. To achieve this, we need a polling mechanism that can share work between instances.
=========
User Story:
As a Branch Planner developer,
I'd like to make the branch planner scalable,
so it can run in multiple instances and it can be configured to be HA with replica count.
Acceptance Criteria:
Ensure branch planner can be replicated without affecting existing functionality and without instancing fighting over branch planner resources.
The text was updated successfully, but these errors were encountered:
I think just being to run more goroutines would be good enough for now (I'm not clear whether this is the suggestion). Making it scale by sharing work amongst several pods is much more involved. Running more worker goroutines would be simple if branch-planner is ported to run as a controller-runtime controller.
For HA systems, they may want to run the branch planner controller with at least 2 instances, preferably in different nodes. It's not about scaling to manage more resources, but scaling as availability. Right now if they set the controller to replica > 1 each controller will fight for each repo and branch and one will create resources the rest will error on that one and they kind of simultaneously go to the next PR to check changes.
if they set the controller to replica > 1 each controller will fight for each repo and branch
It's a good argument for porting to a controller-runtime Manager, so it can use leader election conveniently. If a pod crashes and another takes over, is there any state lost that would stop the second pod working properly?
squaremo
changed the title
make branch planner scalable
Make it possible to run branch planner in HA configuration (replicas > 1)
Nov 6, 2023
Right now, by design, branch planner can't be replicated. To achieve this, we need a polling mechanism that can share work between instances.
=========
User Story:
As a Branch Planner developer,
I'd like to make the branch planner scalable,
so it can run in multiple instances and it can be configured to be HA with replica count.
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: