-
Notifications
You must be signed in to change notification settings - Fork 120
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
Leader election defaults were updated #203
Leader election defaults were updated #203
Conversation
af16517
to
73ad454
Compare
974d2ae
to
dedd806
Compare
dedd806
to
bacc72c
Compare
2d73dba
to
bacc72c
Compare
- Leader election now acquires the lock before main begins - Updated leader election lease duration 15s --> 60s, renewal deadline 10s --> 30s and retry period 2s --> 15s while running CI tests - Shorter default leader election renewal deadline of 10s causes failure while renewing lease in a network intense cluster for CI tests
bacc72c
to
533c48c
Compare
Hi @hardikdr , Can you take a look at this PR, I have just updated the leader election defaults for the CI pipeline Refer these changes. I have confirmed to make these changes with @amshuman-kr 's consent. And the change in the default leader election maps to acquiring this lock before running the controller. Most controllers including the Gardener do this. Refer here. Hence this change. Thanks & Regards, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
What this PR does / why we need it:
Shorter default leader election renewal deadline of 10s was causing failures while renewing the lease (on Azure)
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note: