Peter Rifel
1b29afb45d
Switch to using ec2.DescribeInstanceTypes for building the MachineType list
2020-04-05 21:16:49 -05:00
Peter Rifel
4d24c4d1e6
Remove unused ECU and Burstable fields from AWSMachineTypeInfo
...
I tracked these fields back to a 2016 commit that added the entire struct but they still werent used even back then.
2020-04-03 22:19:05 -05:00
mikesplain
77f9cb155e
Add inf1 isntances
2019-12-16 09:20:14 -05:00
mikesplain
e897124c50
Add new instance types
2019-11-18 09:44:52 -08:00
mikesplain
663ef95171
Update for NA storage
2019-11-18 09:43:07 -08:00
Guangming Wang
40dca69298
fix string trim func in main
...
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-10-16 21:37:28 +08:00
tanjunchen
43bf6bdab6
fix-up gosimple check error
2019-10-07 11:59:57 +08:00
Peter Rifel
413580f13f
aws sdk - replace deprecated session.New with session.NewSession
2019-09-27 12:51:19 -07:00
mikesplain
c420249120
Add g4dn
2019-09-23 13:23:03 -04:00
mikesplain
1c4c541938
Fix machine types for new nvme string formatting
2019-09-23 13:22:30 -04:00
mikesplain
9e55b8230a
Update copyright notices
...
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
mikesplain
2c95884c25
Update and add back some sizes
2019-09-03 15:15:35 -04:00
Christophe GASMI
2cc94d53ab
update instances list with make update-machine-types
2019-06-28 01:29:14 +02:00
Christophe GASMI
00353c736f
update instances list with make update-machine-types
2019-06-20 20:31:30 +09:00
Mike Splain
28dc1dd7de
Add i3en
2019-05-09 12:46:15 -04:00
mikesplain
3d3dc5781d
Fix machine types with klog
2019-05-07 09:02:31 -04:00
Justin SB
76d03b3f71
Generated files: glog -> klog
2019-05-06 12:56:03 -04:00
Justin SB
3e33ac7682
Change code from glog to klog
...
We don't call klog.InitFlags yet, because that will cause a flag
redefinition error until we get everyone to stop using glog. That
will happen when we update to k8s 1.13.
2019-05-06 12:54:51 -04:00
mikesplain
148bbd9c7a
Add t3a family
2019-04-26 11:06:44 -04:00
mikesplain
db6c0eb02c
Update instances types
...
adds m5ad's and r5ad's
2019-04-03 11:22:50 -04:00
Justin SB
148a370f39
update-machine-types: more metal instance types
...
m5, m5d, r5, r5d, z1d metal types
2019-02-28 15:48:33 -05:00
mikesplain
a331b107b6
Fix machine types and cleanup makefile
2019-01-31 17:44:18 -05:00
Justin Santa Barbara
b78e4312ec
machine-types: remove duplicate dedup
...
PR #6058 addded dedup in a better way than I had previously done, so
remove my more complicated and now superfluous second dedup.
2018-11-27 23:10:35 -05:00
k8s-ci-robot
f57d836345
Merge pull request #6117 from justinsb/add_a1_and_c5n
...
Add a1 and c5n instance types
2018-11-27 09:56:27 -08:00
Justin Santa Barbara
a29d223bc1
machine-type generator: Warn if instance type not in ENI map
...
And we write these warnings to the output, so that we can see them in
PR review.
2018-11-27 07:33:47 -05:00
Justin Santa Barbara
9a8100f74b
Add a1 and c5n instance types
...
* Updated vpc_ip_resource_limits
* Ran `make update-machine-types`
2018-11-27 06:57:10 -05:00
Ripta Pasay
56a8059f8e
Update bazel
2018-11-25 22:46:38 +00:00
Ripta Pasay
7ca6ddc9e0
Replace MaxPods in machine type data with InstanceENIs and InstanceIPsPerENI
2018-11-25 22:35:25 +00:00
Ripta Pasay
ab8565df9c
Import awsutils from amazon-vpc-cni-k8s plugin
...
https://raw.githubusercontent.com/aws/amazon-vpc-cni-k8s/master/pkg/awsutils/vpc_ip_resource_limit.go
2018-11-25 20:45:33 +00:00
Ripta Pasay
aa34956560
Ignore any duplicates being returned by the pricing API when rebuilding machine types
2018-11-25 20:45:33 +00:00
Ripta Pasay
c2d82abd88
Calculate max pods based on Amazon VPC CNI plugin library
2018-11-25 20:45:33 +00:00
Justin SB
5dfcb9b59e
Update machine type generator
...
* Handle NA ECU value (map to zero)
* Deduplicate machine types (I was getting duplicates)
2018-11-18 21:02:40 -05:00
Justin Santa Barbara
2a2b873656
Move flag parsing out of init block
...
For whatever reason it wasn't working for me...
2018-09-22 02:47:39 -04:00
Justin Santa Barbara
bb3e90513c
machine-type generator: go vet fixes
...
Keep go vet happy - address its complaints about error formatting
2018-09-14 10:37:09 -04:00
Justin Santa Barbara
e8650ca8ca
Tweak machine_types generator to match our existing values
...
We weren't outputing the Burstable or GPU attributes, and the sorting
order wasn't quite the same. This made verification harder.
2018-09-14 09:39:04 -04:00
Mike Splain
29e852a731
Add readme
2018-08-31 12:42:13 -04:00
Mike Splain
1fa04f82de
Add makefile changes
2018-08-31 12:42:13 -04:00
Mike Splain
9f01ea79cb
Add deps
2018-08-31 12:42:13 -04:00
Mike Splain
2e2039f03d
First pass
2018-08-31 12:35:53 -04:00