-
Notifications
You must be signed in to change notification settings - Fork 526
Refine defaults and validation for worker with ManualInPlaceUpdate strategy #12607
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
Conversation
/retest |
13a8f8d
to
79f7f8d
Compare
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
LGTM label has been added. Git tree hash: 5fc838fd90559ce8be3af3903012f97914b13ade
|
/lgtm |
LGTM label has been added. Git tree hash: b969d19626695f2ee1274dca3577bfb1abf02e9e
|
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.
Thanks!
/lgtm
LGTM label has been added. Git tree hash: 085d8a6d1a985aef20c1d2bb8b124cced7ebf3b2
|
…ManualInPlaceUpdate
test/testmachinery/system/shoot_kubernetes_update/kubernetes_update_test.go
Outdated
Show resolved
Hide resolved
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.
Thanks!
/lgtm
LGTM label has been added. Git tree hash: 788f9f0e52b63523e0ca197a5fe5b78ff0bc0e28
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: shafeeqes 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 |
@acumino: The following test failed, say
Full PR test history. Your PR dashboard. Command help for this repository. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
…rategy (gardener#12607) * Refine defaults and validation for worker with ManualInPlaceUpdate strategy * Address Review * Rename flag for more clarity * Allow setting machine image version during shoot creation * MaxSurge and MaxUnavailable can be nil * Don't default maxSurge and maxUnavailable for ManualInPlaceUpdate workers * Add validation that MaxSurge and MaxUnavilable should not be set for ManualInPlaceUpdate * Fix e2e test for in-place updates * If only patch version is updated we don't need to check for inplace constranits * Address Review
How to categorize this PR?
/area control-plane
/kind cleanup
What this PR does / why we need it:
Updated validation to enforce that both
MaxSurge
andMaxUnavailable
must not be set forManualInPlaceUpdate
, asMaxUnavailable
is not relevant for workers using this strategy nodes selected by the user receive in-place updates simultaneously, regardless ofMaxUnavailable
. Similarly,MaxSurge
is not applicable, as new node creation is not allowed.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
/cc @ary1992 @shafeeqes
Release note: