-
-
Notifications
You must be signed in to change notification settings - Fork 303
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
Implement cordon/uncordon for Node #762
Conversation
Signed-off-by: ChinYing-Li <chinying.li@mail.utoronto.ca>
This comment has been minimized.
This comment has been minimized.
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.
initial comments. looks good, just minor points here and there.
I think having the bulk of If that works out we can maybe follow a similar approach for
Don't worry about it! We are going to try a system with auto-generated changelogs from labels and pr title for next release. Thanks for looking these help-wanted issues! Very much appreciated. |
Signed-off-by: ChinYing-Li <chinying.li@mail.utoronto.ca>
Haven't push the "code formatting" commit yet; will do that once I wrapped up my attempt to implement |
The draft of node drain example is here, though I still haven't figured out how to make the created "fake" node become |
Signed-off-by: ChinYing-Li <chinying.li@mail.utoronto.ca>
fe4cbb8
to
6aa7f6d
Compare
I think it's best to open a separate PR for |
Ok, will have a go over. I think it's possible that drain might be best served as an example, because it is non-trivial to startup a real node, get pods on it, then evict those, and drain it. If we can verify it as a one-off thing in an example, that might be good enough. |
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.
minor nit on a comment, but otherwise happy with this 👍
Co-authored-by: Eirik A <sszynrae@gmail.com> Signed-off-by: Chin-Ying Li <chinying.li@mail.utoronto.ca>
9b97ec2
to
1d98650
Compare
Looking good. I'll merge this in. I'll leave the original issue open (since we still want something for drain), but will add a comment therein. |
Signed-off-by: ChinYing-Li chinying.li@mail.utoronto.ca
Motivation
This PR aims to solve #706.
Solution
Currently only cordon/uncordon is implemented, as I would like to have some feedback before moving on to drain etc.
One "test" is added as
example/node_cordon.rs
, but I wonder if it makes sense to have a conditional compilation featuretest-integration
.Also, I suppose this change needs an entry in the CHANGELOG, but please let me know in case I am wrong.
Any suggestion is appreciated!