-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Create separate field for disabling rolling updates #9348
Create separate field for disabling rolling updates #9348
Conversation
587feea
to
23584ba
Compare
/lgtm I definitely agree with this being explicit rather than implicit. |
/retest |
One issue might be naming. It doesn't disable rolling updates entirely, it just disables the drain and terminate behavior. Perhaps |
After thinking about it I actually like the current naming, I think |
/retest |
Let's just check on field naming in Office Hours |
23584ba
to
cc2b647
Compare
/hold cancel |
/lgtm |
Thanks @johngmyers ... one leftover json field name, but also if we told users to set 0/0, we might not be able to now mark that invalid, and also I think we should probably continue to honor 0/0 as meaning "off", at least for some deprecation period. |
@justinsb 0/0 hasn't been in a stable release yet, so I think we can skip a deprecation period. |
Ah - that's good news. Fine to disallow 0/0 then :-) |
Thanks @johngmyers - doubly important to get this in so we don't have to deprecate 0/0 :-) /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: johngmyers, justinsb The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…48-upstream-release-1.18 Automated cherry pick of #9348: Create separate field for disabling rolling updates
On further reflection, I think my idea of having rolling updates for an instancegroup be disabled by setting both
maxSurge
andmaxUnavailable
to zero is too indirect. This PR makes that behavior be controlled by a new setting.Fixes #7685
Intended to be backported to 1.18.