Open z0rc opened 1 month ago
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. 🚀
@STRRL my Go skills are at that level, so it's up to you. Thanks.
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/