-
Notifications
You must be signed in to change notification settings - Fork 424
feat: Add option to enabled warmup when leader election is used #2740
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
feat: Add option to enabled warmup when leader election is used #2740
Conversation
|
Skipping CI for Draft Pull Request. |
Pull Request Test Coverage Report for Build 21188536214Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
|
Any reason to not have this on by default? There's a network tradeoff, but it seems very worthy given the risk of coordinated lists across controllers during zonal fail over. |
|
Same question was asked during working group. I think it make sense to turn it on by default but I think its likely safer to go first as not default then maybe flip it on as default after a release or two? |
|
Sounds good. If our intended goal state is on by default, wdyt about flipping the flag to "disable" and making it true by default (for now). The general idea being that the natural state of a Boolean is false. We haven't been perfect with this, but I think it generally helps with readability (short of something more sophisticated like feature gates). @jmdeal I'm noticing that feature gates has a comment to deprecate the field. What's the history there? |
|
That make sense to me, I can update it to do that. I also needed to test one more code path then will ask for another review |
ellistarn
left a comment
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
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ellistarn, GnatorX The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
feat: Add option to enabled warmup when leader election is used (kubernetes-sigs#2740) Co-authored-by: [email protected] <[email protected]>
…ed (kubernetes-sigs#2740)" This reverts commit 3c00d41.
…ed (kubernetes-sigs#2740)" This reverts commit 3c00d41.
Fixes #N/A
Description
How was this change tested?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.