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

Feature request: Controller leader election #130

Open
z0rc opened this issue Oct 11, 2024 · 2 comments
Open

Feature request: Controller leader election #130

z0rc opened this issue Oct 11, 2024 · 2 comments

Comments

@z0rc
Copy link
Contributor

z0rc commented Oct 11, 2024

It's expected to run multiple controller replicas simultaneously for HA. In the same time, given the nature of controller's logic, it doesn't make sense to allow every replica do the actuall work, as this can trigger race condition.

https://sklar.rocks/kubernetes-leader-election/

@STRRL
Copy link
Owner

STRRL commented Oct 17, 2024

Yeah, that would be coll and could be easily supported with controller-runtime, https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/leaderelection .

I am very appriciate for your great idea for pushing this project near to production available step by step!

Do you have interests in building it? ❤️ Or I could make it in the next days. 🚀

@z0rc
Copy link
Contributor Author

z0rc commented Oct 17, 2024

@STRRL my Go skills are at that level, so it's up to you. Thanks.

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