From 343373ab93846a902871e1efe4f6b1bcf7418dbd Mon Sep 17 00:00:00 2001 From: Guy Templeton Date: Mon, 15 Jul 2024 11:03:59 +0100 Subject: [PATCH] CA - 1.30.2 Pre-release AWS Instance Types Update --- .../cloudprovider/aws/ec2_instance_types.go | 174 ++++++++++++++++-- 1 file changed, 157 insertions(+), 17 deletions(-) diff --git a/cluster-autoscaler/cloudprovider/aws/ec2_instance_types.go b/cluster-autoscaler/cloudprovider/aws/ec2_instance_types.go index f71770c82d1b..2d3c552c858a 100644 --- a/cluster-autoscaler/cloudprovider/aws/ec2_instance_types.go +++ b/cluster-autoscaler/cloudprovider/aws/ec2_instance_types.go @@ -28,7 +28,7 @@ type InstanceType struct { } // StaticListLastUpdateTime is a string declaring the last time the static list was updated. -var StaticListLastUpdateTime = "2024-04-08" +var StaticListLastUpdateTime = "2024-07-15" // InstanceTypes is a map of ec2 resources var InstanceTypes = map[string]*InstanceType{ @@ -1110,6 +1110,13 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "arm64", }, + "c7gd.metal": { + InstanceType: "c7gd.metal", + VCPU: 64, + MemoryMb: 131072, + GPU: 0, + Architecture: "arm64", + }, "c7gd.xlarge": { InstanceType: "c7gd.xlarge", VCPU: 4, @@ -1166,6 +1173,13 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "arm64", }, + "c7gn.metal": { + InstanceType: "c7gn.metal", + VCPU: 64, + MemoryMb: 131072, + GPU: 0, + Architecture: "arm64", + }, "c7gn.xlarge": { InstanceType: "c7gn.xlarge", VCPU: 4, @@ -1376,20 +1390,6 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "amd64", }, - "g2.2xlarge": { - InstanceType: "g2.2xlarge", - VCPU: 8, - MemoryMb: 15360, - GPU: 1, - Architecture: "amd64", - }, - "g2.8xlarge": { - InstanceType: "g2.8xlarge", - VCPU: 32, - MemoryMb: 61440, - GPU: 4, - Architecture: "amd64", - }, "g3.16xlarge": { InstanceType: "g3.16xlarge", VCPU: 64, @@ -3315,6 +3315,13 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "arm64", }, + "m7gd.metal": { + InstanceType: "m7gd.metal", + VCPU: 64, + MemoryMb: 262144, + GPU: 0, + Architecture: "arm64", + }, "m7gd.xlarge": { InstanceType: "m7gd.xlarge", VCPU: 4, @@ -3441,6 +3448,13 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "amd64", }, + "mac2-m1ultra.metal": { + InstanceType: "mac2-m1ultra.metal", + VCPU: 20, + MemoryMb: 131072, + GPU: 0, + Architecture: "amd64", + }, "mac2-m2.metal": { InstanceType: "mac2-m2.metal", VCPU: 8, @@ -3448,6 +3462,13 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "amd64", }, + "mac2-m2pro.metal": { + InstanceType: "mac2-m2pro.metal", + VCPU: 12, + MemoryMb: 32768, + GPU: 0, + Architecture: "amd64", + }, "mac2.metal": { InstanceType: "mac2.metal", VCPU: 8, @@ -4662,7 +4683,7 @@ var InstanceTypes = map[string]*InstanceType{ "r7gd.12xlarge": { InstanceType: "r7gd.12xlarge", VCPU: 48, - MemoryMb: 262144, + MemoryMb: 393216, GPU: 0, Architecture: "arm64", }, @@ -4690,7 +4711,7 @@ var InstanceTypes = map[string]*InstanceType{ "r7gd.8xlarge": { InstanceType: "r7gd.8xlarge", VCPU: 32, - MemoryMb: 196608, + MemoryMb: 262144, GPU: 0, Architecture: "arm64", }, @@ -4708,6 +4729,13 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "arm64", }, + "r7gd.metal": { + InstanceType: "r7gd.metal", + VCPU: 64, + MemoryMb: 524288, + GPU: 0, + Architecture: "arm64", + }, "r7gd.xlarge": { InstanceType: "r7gd.xlarge", VCPU: 4, @@ -4862,6 +4890,90 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "amd64", }, + "r8g.12xlarge": { + InstanceType: "r8g.12xlarge", + VCPU: 48, + MemoryMb: 393216, + GPU: 0, + Architecture: "arm64", + }, + "r8g.16xlarge": { + InstanceType: "r8g.16xlarge", + VCPU: 64, + MemoryMb: 524288, + GPU: 0, + Architecture: "arm64", + }, + "r8g.24xlarge": { + InstanceType: "r8g.24xlarge", + VCPU: 96, + MemoryMb: 786432, + GPU: 0, + Architecture: "arm64", + }, + "r8g.2xlarge": { + InstanceType: "r8g.2xlarge", + VCPU: 8, + MemoryMb: 65536, + GPU: 0, + Architecture: "arm64", + }, + "r8g.48xlarge": { + InstanceType: "r8g.48xlarge", + VCPU: 192, + MemoryMb: 1572864, + GPU: 0, + Architecture: "arm64", + }, + "r8g.4xlarge": { + InstanceType: "r8g.4xlarge", + VCPU: 16, + MemoryMb: 131072, + GPU: 0, + Architecture: "arm64", + }, + "r8g.8xlarge": { + InstanceType: "r8g.8xlarge", + VCPU: 32, + MemoryMb: 262144, + GPU: 0, + Architecture: "arm64", + }, + "r8g.large": { + InstanceType: "r8g.large", + VCPU: 2, + MemoryMb: 16384, + GPU: 0, + Architecture: "arm64", + }, + "r8g.medium": { + InstanceType: "r8g.medium", + VCPU: 1, + MemoryMb: 8192, + GPU: 0, + Architecture: "arm64", + }, + "r8g.metal-24xl": { + InstanceType: "r8g.metal-24xl", + VCPU: 96, + MemoryMb: 786432, + GPU: 0, + Architecture: "arm64", + }, + "r8g.metal-48xl": { + InstanceType: "r8g.metal-48xl", + VCPU: 192, + MemoryMb: 1572864, + GPU: 0, + Architecture: "arm64", + }, + "r8g.xlarge": { + InstanceType: "r8g.xlarge", + VCPU: 4, + MemoryMb: 32768, + GPU: 0, + Architecture: "arm64", + }, "t1.micro": { InstanceType: "t1.micro", VCPU: 1, @@ -5135,6 +5247,34 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "amd64", }, + "u7i-12tb.224xlarge": { + InstanceType: "u7i-12tb.224xlarge", + VCPU: 896, + MemoryMb: 12582912, + GPU: 0, + Architecture: "amd64", + }, + "u7in-16tb.224xlarge": { + InstanceType: "u7in-16tb.224xlarge", + VCPU: 896, + MemoryMb: 16777216, + GPU: 0, + Architecture: "amd64", + }, + "u7in-24tb.224xlarge": { + InstanceType: "u7in-24tb.224xlarge", + VCPU: 896, + MemoryMb: 25165824, + GPU: 0, + Architecture: "amd64", + }, + "u7in-32tb.224xlarge": { + InstanceType: "u7in-32tb.224xlarge", + VCPU: 896, + MemoryMb: 33554432, + GPU: 0, + Architecture: "amd64", + }, "vt1.24xlarge": { InstanceType: "vt1.24xlarge", VCPU: 96,