-
Notifications
You must be signed in to change notification settings - Fork 4k
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 cordon nodes before downscaling #3014
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
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/test-infra repository. I understand the commands that are listed here. |
Welcome @fradee! |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/home/travis/gopath/src/k8s.io/autoscaler/cluster-autoscaler/utils/cordon/cordon.go:45:10: if block ends with a return statement, so drop this else and outdent its block
@losipiuk Hi, any chance to review it? 🙏 |
@@ -172,6 +172,7 @@ var ( | |||
balancingIgnoreLabelsFlag = multiStringFlag("balancing-ignore-label", "Specifies a label to ignore in addition to the basic and cloud-provider set of labels when comparing if two node groups are similar") | |||
awsUseStaticInstanceList = flag.Bool("aws-use-static-instance-list", false, "Should CA fetch instance types in runtime or use a static list. AWS only") | |||
enableProfiling = flag.Bool("profiling", false, "Is debug/pprof endpoint enabled") | |||
cordonNodeBeforeTerminate = flag.Bool("cordon-node-before-terminate", false, "Should CA cordon nodes before termiante during downscale process") |
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.
termiante -> terminating
@fradee Hi, did you find another workaround on how to achieve cordoning? 🙏 |
I've just found out we are suffering the same issue. Are there alternatives out there? |
Hey @fradee thank you for the PR, this will be brilliant for a CI cluster where new PODs are scheduled to perform short/medium tasks... it's exactly what I need I'm curious why this PR didn't go through... If you are busy or this is not a problem for you anymore, would you mind if I clone this PR? |
Review, please for solving #2868