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

Feature Request: Flag that optionally sorts the instances as per the list of allowed instance types #307

Open
sunnynew opened this issue Nov 14, 2018 · 2 comments

Comments

@sunnynew
Copy link

Summary

Would like have a flag that optionally sorts the instances as per the list of allowed instance types, instead of the price (cheapest) like in the current implementation.

This will also allow us to have diversified instance types in single ASG.

@lenucksi
Copy link
Contributor

This is related to #263.
For this, there would be a need to order the instances in some way, after retrieving the list of allowed instances.
One could randomize the order of the instances (below a certain cost threshold) for every run and then attempt to launch from this. A more deliberate sorting by some criterion would be nice, too.

All in all this basically boils down to having diverse launch candidate list generation strategies. Would need some work to enable configuration of which strategy to use, too.

I'm happy to take PR's on top of #306 and discuss them.

@cristim
Copy link
Member

cristim commented Mar 6, 2023

@sunnynew is this issue still of interest to you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants