Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for leader election #19

Merged
merged 1 commit into from
May 10, 2023
Merged

Conversation

ykulazhenkov
Copy link
Collaborator

By default, the leader election is now enabled in the deployment yaml
but controller's replica count is set to 1.

This is required to prevent IPAM controller
misbehavior in case if user will decide to scale the deployment.

@adrianchiris
Copy link
Collaborator

@ykulazhenkov once PR#18 is merged, can you update "flags" section with updated flag set ?

@ykulazhenkov
Copy link
Collaborator Author

@ykulazhenkov once PR#18 is merged, can you update "flags" section with updated flag set ?

sure, will do

By default, the leader election is
enabled in the deployment yaml,
but controller's replica count is
set to 1.

This is to prevent IPAM controller
misbehaviour in case if user will
decide to scale deployment.

Signed-off-by: Yury Kulazhenkov <ykulazhenkov@nvidia.com>
@ykulazhenkov
Copy link
Collaborator Author

@ykulazhenkov once PR#18 is merged, can you update "flags" section with updated flag set ?

sure, will do

updated

@coveralls
Copy link

Coverage Status

Coverage: 76.01% (-0.4%) from 76.366% when pulling 92f44fd on ykulazhenkov:leader-elect into 87ee551 on Mellanox:main.

@adrianchiris
Copy link
Collaborator

This will require a followup PR in network operator as well.

@moshe010 moshe010 merged commit 6f7d60a into Mellanox:main May 10, 2023
8 checks passed
@ykulazhenkov ykulazhenkov deleted the leader-elect branch June 11, 2024 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants