Autoscaler: Provide PricingModel for AWS

Created on 20 Jun 2017  路  14Comments  路  Source: kubernetes/autoscaler

Follow up of #82

cc: @mumoshu

areprovideaws cluster-autoscaler help wanted lifecyclrotten

Most helpful comment

@mrcrgl Absolutely, please send us a PR.

All 14 comments

We're interested in this feature. Are contributions welcome?

@mrcrgl Absolutely, please send us a PR.

@mwielgus Ok. I'll start on it. Is it fine for you guys to evaluate the spot prices on demand via the spot price history api? I also tend to load the price list on demand as well (with caching).

@mrcrgl It looks like some of the work for the on-demand pricing was started here:

https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/aws/ec2_instance_types/gen.go

Because pricing can be dependent on your region and account features, this seems to cover some of that, but it needs to be fixed to work with the current API response formats.

Support for detecting the GPU field and instance types would also be nice for that.

I think getting the spot prices from the spot price history API makes perfect sense.

I've worked on it. I'll test these feature within the next few days on one of our clusters.
Does this change work for you guys?

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale

The lifecycle/rotten label should be removed; the PR is still active.

/remove-lifecycle stale

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

/reopen

@bskiba: you can't re-open an issue/PR unless you authored it or you are assigned to it.

In response to this:

/reopen

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.

@mwielgus @mumoshu can you reopen this? or if this has been implemented, link the issue that has this merged?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hjkatz picture hjkatz  路  4Comments

losipiuk picture losipiuk  路  7Comments

paramacharya picture paramacharya  路  5Comments

hprotzek picture hprotzek  路  5Comments

davidquarles picture davidquarles  路  7Comments