forked from kubernetes/autoscaler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added aws-pricing to godeps * updated kubernetes.sync * replaced glog with klog * using pricing SDK to list OnDemand prices * moved aws session creation to price/descriptor * fixed ondemand api test * updated test data for better test coverage
- Loading branch information
1 parent
afe8f3c
commit 6f34ce7
Showing
79 changed files
with
5,637 additions
and
2,472 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
cluster-autoscaler/cloudprovider/aws/api/UPDATE_TEST_DATA.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Update AWS test data | ||
===== | ||
|
||
Install AWS CLI Tools | ||
|
||
Update | ||
|
||
```bash | ||
cd ${GOPATH}/src/k8s.io/autoscaler | ||
|
||
# update on demand data | ||
aws pricing get-products \ | ||
--region=us-east-1 \ | ||
--service-code=AmazonEC2 \ | ||
--filter Type=TERM_MATCH,Field=capacitystatus,Value=Used \ | ||
Type=TERM_MATCH,Field=preInstalledSw,Value=NA \ | ||
Type=TERM_MATCH,Field=location,Value="EU (Ireland)" \ | ||
Type=TERM_MATCH,Field=instanceType,Value="m4.xlarge" \ | ||
> ./cluster-autoscaler/cloudprovider/aws/api/pricing_ondemand_eu-west-1.json | ||
|
||
# update spot data | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.