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

Enable leader election #440

Open
applike-ss opened this issue Jul 31, 2024 · 5 comments
Open

Enable leader election #440

applike-ss opened this issue Jul 31, 2024 · 5 comments

Comments

@applike-ss
Copy link

Hello,

it would be great if the leader election could be enabled, so that we can drive an HA setup for local-path-provisioner.
Currently if i set the replica count to 3 all 3 pods are trying to manage the same pvc that i create. That is not ideal and might lead to issues with race conditions.

@derekbit
Copy link
Member

@applike-ss
Sounds good, but, currently, I don't have too much time for the feature. It would be great if you could contribute the feature.

@applike-ss
Copy link
Author

If I'm not completely wrong, wouldn't you only need to set this to true?

pvController.LeaderElection(false),

Copy link

github-actions bot commented Nov 2, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Nov 2, 2024
@applike-ss
Copy link
Author

/unstale

@applike-ss
Copy link
Author

pls unstale

@github-actions github-actions bot removed the stale label Nov 5, 2024
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

No branches or pull requests

2 participants