Skip to content

Commit

Permalink
Merge pull request #493 from timpalpant/master
Browse files Browse the repository at this point in the history
Add h1 and m5 AWS instance types
  • Loading branch information
mwielgus authored Dec 7, 2017
2 parents eb48463 + 7f6b021 commit 8225983
Showing 1 changed file with 72 additions and 6 deletions.
78 changes: 72 additions & 6 deletions cluster-autoscaler/cloudprovider/aws/ec2_instance_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,6 @@ var InstanceTypes = map[string]*instanceType{
MemoryMb: 8192,
GPU: 0,
},
"cc1.4xlarge": {
InstanceType: "cc1.4xlarge",
VCPU: 16,
MemoryMb: 23552,
GPU: 0,
},
"cc2.8xlarge": {
InstanceType: "cc2.8xlarge",
VCPU: 32,
Expand Down Expand Up @@ -267,6 +261,36 @@ var InstanceTypes = map[string]*instanceType{
MemoryMb: 249856,
GPU: 2,
},
"h1": {
InstanceType: "h1",
VCPU: 64,
MemoryMb: 0,
GPU: 0,
},
"h1.16xlarge": {
InstanceType: "h1.16xlarge",
VCPU: 64,
MemoryMb: 262144,
GPU: 0,
},
"h1.2xlarge": {
InstanceType: "h1.2xlarge",
VCPU: 8,
MemoryMb: 32768,
GPU: 0,
},
"h1.4xlarge": {
InstanceType: "h1.4xlarge",
VCPU: 16,
MemoryMb: 65536,
GPU: 0,
},
"h1.8xlarge": {
InstanceType: "h1.8xlarge",
VCPU: 32,
MemoryMb: 131072,
GPU: 0,
},
"hs1.8xlarge": {
InstanceType: "hs1.8xlarge",
VCPU: 17,
Expand Down Expand Up @@ -459,6 +483,48 @@ var InstanceTypes = map[string]*instanceType{
MemoryMb: 16384,
GPU: 0,
},
"m5": {
InstanceType: "m5",
VCPU: 96,
MemoryMb: 0,
GPU: 0,
},
"m5.12xlarge": {
InstanceType: "m5.12xlarge",
VCPU: 48,
MemoryMb: 196608,
GPU: 0,
},
"m5.24xlarge": {
InstanceType: "m5.24xlarge",
VCPU: 96,
MemoryMb: 393216,
GPU: 0,
},
"m5.2xlarge": {
InstanceType: "m5.2xlarge",
VCPU: 8,
MemoryMb: 32768,
GPU: 0,
},
"m5.4xlarge": {
InstanceType: "m5.4xlarge",
VCPU: 16,
MemoryMb: 65536,
GPU: 0,
},
"m5.large": {
InstanceType: "m5.large",
VCPU: 2,
MemoryMb: 8192,
GPU: 0,
},
"m5.xlarge": {
InstanceType: "m5.xlarge",
VCPU: 4,
MemoryMb: 16384,
GPU: 0,
},
"p2": {
InstanceType: "p2",
VCPU: 64,
Expand Down

0 comments on commit 8225983

Please sign in to comment.