hjacobs / kube-resource-report

Report Kubernetes cluster and pod resource requests vs usage and generate static HTML
GNU General Public License v3.0
715 stars 102 forks source link

Use AWS pricing API #5

Open hjacobs opened 6 years ago

hjacobs commented 6 years ago

The AWS pricing information is currently hardcoded and only eu-central-1 is supported. Using the AWS pricing API will automatically support all AWS EC2 instances and regions: http://boto3.readthedocs.io/en/latest/reference/services/pricing.html

hjacobs commented 6 years ago

This PR uses the AWS Pricing API to update a local CSV file: #27

hjacobs commented 4 years ago

is there a chance that you'd implement fetching the costs in kube-resource-report automatically? maybe with a static list of regions provided as arguments we have some of the costs completely wrong, some at 0 because these are new instance types I've tried running the script to try and update the static and it's very frustrating because it fails for stuff we'll never need like govcloud