-
Notifications
You must be signed in to change notification settings - Fork 427
Chore(Helm): Align Helm with Kustomize by enabling leader-election. #1944
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
base: master
Are you sure you want to change the base?
Chore(Helm): Align Helm with Kustomize by enabling leader-election. #1944
Conversation
Leader election is needed to prevent two controllers from trying to manage the same set of resources at the same time. |
We talked about this in the sync call after you left. We concluded that regular deployments should be fine as status updates no longer trigger reconciliation. So the only way simultaneous reconciliation can happen is by coinciding |
@theSuess I was thinking rather about briefly having two pods during Rollout. - We have readiness probes, so the old pod will not be terminated for up to 15 seconds ( |
e9a9d86
to
a5d5ef0
Compare
a5d5ef0
to
d780c17
Compare
Briefly discussed this with @Baarsgaard over Slack. - There's an old bug in our chart which causes an additional ConfigMap with |
7a07d42
to
b2aa3f5
Compare
After some digging I found both some solid documentation on Leader election and a bug 😅 The bug is that we always trigger status sync on PS: Transitioning from my fork to the main repo, accidentally deleted the branch in the wrong repository. |
Helm has leader election disabled per default.
That is not the case for the Kustomize deployment