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

On-demand pricing only available for spot instances #15

Open
dobesv opened this issue Mar 29, 2019 · 0 comments
Open

On-demand pricing only available for spot instances #15

dobesv opened this issue Mar 29, 2019 · 0 comments

Comments

@dobesv
Copy link
Contributor

dobesv commented Mar 29, 2019

Currently the system pulls a list of regions / instance types based on a provided label that denotes a node as being a spot instance.

This list is used to fetch both spot and on-demand instance pricing.

However, we want to use this tool to try and calculate an overall cost of the cluster, which means we want on-demand prices for on-demand instances, and spot prices for spot instances.

As a workaround I can provide a --spot-label argument which is a label common to ALL nodes. This way I simply get spot and on-demand pricing for all the node types used in the system.

But ideally I think for the on-demand pricing it would simply fetch prices for all nodes in the system, regardless of the spot-worker label.

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

No branches or pull requests

1 participant