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
Is your feature request related to a problem? Please describe.
Due to the leader-election of the controller, when there are thousands of application CRs in the hubcluster,
the new application will be delayed for updating longer and longer time.
Describe the solution you'd like
For this issue, i have made some experimental solution.
We want to dispatch several deployment of app controller in hubcluster.
Firstly, enabling the leader election and set leader-election-resource-name with different name e.g sharding-1, sharding-2.
Secondly, we add a label tag for every application CR, e.g app.oam.dev/sharding=sharding-1
Thirdly, add a filter to controller's eventFilter. Only the value of label tag is equal to leader-election-resource-name, the controller will handle the application CR.
The final effect is: application CR with label value of sharding-1 will only be processed by app controller with leader-selection-resource-name value of sharding-1
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Due to the leader-election of the controller, when there are thousands of application CRs in the hubcluster,
the new application will be delayed for updating longer and longer time.
Describe the solution you'd like
For this issue, i have made some experimental solution.
We want to dispatch several deployment of app controller in hubcluster.
Firstly, enabling the leader election and set
leader-election-resource-name
with different name e.g sharding-1, sharding-2.Secondly, we add a label tag for every application CR, e.g
app.oam.dev/sharding=sharding-1
Thirdly, add a filter to controller's eventFilter. Only the value of label tag is equal to
leader-election-resource-name
, the controller will handle the application CR.The final effect is: application CR with label value of
sharding-1
will only be processed by app controller withleader-selection-resource-name
value ofsharding-1
The text was updated successfully, but these errors were encountered: