Skip to content
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 option to perform a drain before terminating a node #93

Open
awprice opened this issue Apr 13, 2018 · 2 comments
Open

Add option to perform a drain before terminating a node #93

awprice opened this issue Apr 13, 2018 · 2 comments
Labels
enhancement New feature or request feature

Comments

@awprice
Copy link
Member

awprice commented Apr 13, 2018

Add a option (in the nodegroup.yaml configuration file) to perform a drain before terminating an instance in a node group.

This option should be per node group, as some node groups may have jobs only vs some with services only.

@awprice awprice added enhancement New feature or request feature labels Apr 13, 2018
@awprice
Copy link
Member Author

awprice commented May 17, 2018

We should be looking at performing a drain simulation to determine which nodes are the "easiest" to evict pods from and then terminate. This way we aren't wasting time trying to evict pods that can't easily be moved and try to terminate a different node.

Possibly use https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler/simulator

@awprice
Copy link
Member Author

awprice commented May 17, 2018

I've created a seperate issue to look into different node selection methods for termination - #105

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature
Projects
None yet
Development

No branches or pull requests

1 participant