-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add KEP 4802 - windows node shutdown #4813
Conversation
|
Welcome @zylxjtu! |
Hi @zylxjtu. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
f6b866b
to
a1fb977
Compare
/ok-to-test |
4eecabf
to
160c48c
Compare
/sig node |
764193b
to
34d4400
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.
PRR shadow.
|
||
n/a | ||
|
||
## Production Readiness Review Questionnaire |
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.
This KEP's markdown does not seem to be following the standard template. Please update it to the regular template.
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.
updated with new template format
with and without the feature, are necessary. At the very least, think about | ||
conversion tests if API types are being modified. | ||
|
||
* n/a |
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.
I don't see how this feature could be meaningfully tested without an e2e.
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.
we do have e2e test, please refer to the attached code PR link, will add more clarification for this
This feature should not impact rollouts. | ||
|
||
* **What specific metrics should inform a rollback?** | ||
|
||
N/A. |
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.
I think this section is more asking 'if there is bug in the feature' how would an admin figure out that this feature was the cause of it.
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.
added
- [ ] Other (treat as last resort) | ||
- Details: | ||
|
||
N/A |
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.
I think you need at least logs since those can be persisted across reboots.
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.
Added
|
||
Check if the feature gate and kubelet config settings are enabled on a node. | ||
|
||
* **What are the SLIs (Service Level Indicators) an operator can use to determine |
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.
How can someone using this feature know that it is working for their instance?
is missing from the KEP template.
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.
Added
f2ffa55
to
f47a806
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.
PRR shadow
|
||
- [X] Feature gate (also fill in values in `kep.yaml`) | ||
- Feature gate name: `WindowsGracefulNodeShutdown` | ||
- Components depending on the feature gate: |
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.
kubelet
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.
updated
###### Were upgrade and rollback tested? Was the upgrade->downgrade->upgrade path tested? | ||
|
||
The feature is part of kubelet config so updating kubelet config should | ||
enable/disable the feature; upgrade/downgrade is N/A. |
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.
This is basically how all features work so upgrade and downgrade apply as normal.
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.
updated
|
||
n/a | ||
|
||
The failure of the roll out will behave like disbling this feature, operators can check the log to get more specific info |
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.
Which logs? What information will they contain?
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.
it should be the default kubelet log, add example for the error information
|
||
###### How can a rollout or rollback fail? Can it impact already running workloads? | ||
|
||
This fail of rollout will behave like disabling this feature, it wil not impact running workloads during rollout/rollback. |
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.
I don't understand what this is saying.
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.
Remove the confusion part
PRR looks good. Thanks. /approve |
# of http://git.k8s.io/enhancements/OWNERS_ALIASES | ||
kep-number: 4802 | ||
alpha: | ||
approver: "@johnbelamaric" |
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.
approver: "@johnbelamaric" | |
approver: "@deads2k" |
- [x] (R) Design details are appropriately documented | ||
- [x] (R) Test plan is in place, giving consideration to SIG Architecture and SIG Testing input | ||
- [x] (R) Graduation criteria is in place | ||
- [] (R) Production readiness review completed |
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.
- [] (R) Production readiness review completed | |
- [x] (R) Production readiness review completed |
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
/approve
/hold for @mrunalp / node review
Looks good for Windows!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, marosset, zylxjtu 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 |
/lgtm |
/unhold |
This is to implement node shutdown feature for windows node, comparable with linux part, which is describe in KEP-2000
code PR: Windows node graceful shutdown kubernetes#127404