From 65970f9ed1258b23959e53bdcb8280db73f186bd Mon Sep 17 00:00:00 2001 From: Mathieu Bruneau Date: Wed, 29 Nov 2023 19:31:15 +0000 Subject: [PATCH] Adding 33 instances types --- .../cloudprovider/aws/ec2_instance_types.go | 233 +++++++++++++++++- 1 file changed, 232 insertions(+), 1 deletion(-) diff --git a/cluster-autoscaler/cloudprovider/aws/ec2_instance_types.go b/cluster-autoscaler/cloudprovider/aws/ec2_instance_types.go index f3b005b09d51..4781bbbfd073 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 = "2023-09-27" +var StaticListLastUpdateTime = "2023-11-29" // InstanceTypes is a map of ec2 resources var InstanceTypes = map[string]*InstanceType{ @@ -914,6 +914,90 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "amd64", }, + "c7a.12xlarge": { + InstanceType: "c7a.12xlarge", + VCPU: 48, + MemoryMb: 98304, + GPU: 0, + Architecture: "amd64", + }, + "c7a.16xlarge": { + InstanceType: "c7a.16xlarge", + VCPU: 64, + MemoryMb: 131072, + GPU: 0, + Architecture: "amd64", + }, + "c7a.24xlarge": { + InstanceType: "c7a.24xlarge", + VCPU: 96, + MemoryMb: 196608, + GPU: 0, + Architecture: "amd64", + }, + "c7a.2xlarge": { + InstanceType: "c7a.2xlarge", + VCPU: 8, + MemoryMb: 16384, + GPU: 0, + Architecture: "amd64", + }, + "c7a.32xlarge": { + InstanceType: "c7a.32xlarge", + VCPU: 128, + MemoryMb: 262144, + GPU: 0, + Architecture: "amd64", + }, + "c7a.48xlarge": { + InstanceType: "c7a.48xlarge", + VCPU: 192, + MemoryMb: 393216, + GPU: 0, + Architecture: "amd64", + }, + "c7a.4xlarge": { + InstanceType: "c7a.4xlarge", + VCPU: 16, + MemoryMb: 32768, + GPU: 0, + Architecture: "amd64", + }, + "c7a.8xlarge": { + InstanceType: "c7a.8xlarge", + VCPU: 32, + MemoryMb: 65536, + GPU: 0, + Architecture: "amd64", + }, + "c7a.large": { + InstanceType: "c7a.large", + VCPU: 2, + MemoryMb: 4096, + GPU: 0, + Architecture: "amd64", + }, + "c7a.medium": { + InstanceType: "c7a.medium", + VCPU: 1, + MemoryMb: 2048, + GPU: 0, + Architecture: "amd64", + }, + "c7a.metal-48xl": { + InstanceType: "c7a.metal-48xl", + VCPU: 192, + MemoryMb: 393216, + GPU: 0, + Architecture: "amd64", + }, + "c7a.xlarge": { + InstanceType: "c7a.xlarge", + VCPU: 4, + MemoryMb: 8192, + GPU: 0, + Architecture: "amd64", + }, "c7g.12xlarge": { InstanceType: "c7g.12xlarge", VCPU: 48, @@ -1145,6 +1229,20 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "amd64", }, + "c7i.metal-24xl": { + InstanceType: "c7i.metal-24xl", + VCPU: 96, + MemoryMb: 196608, + GPU: 0, + Architecture: "amd64", + }, + "c7i.metal-48xl": { + InstanceType: "c7i.metal-48xl", + VCPU: 192, + MemoryMb: 393216, + GPU: 0, + Architecture: "amd64", + }, "c7i.xlarge": { InstanceType: "c7i.xlarge", VCPU: 4, @@ -1726,6 +1824,13 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "arm64", }, + "i4i.12xlarge": { + InstanceType: "i4i.12xlarge", + VCPU: 48, + MemoryMb: 393216, + GPU: 0, + Architecture: "amd64", + }, "i4i.16xlarge": { InstanceType: "i4i.16xlarge", VCPU: 64, @@ -1733,6 +1838,13 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "amd64", }, + "i4i.24xlarge": { + InstanceType: "i4i.24xlarge", + VCPU: 96, + MemoryMb: 786432, + GPU: 0, + Architecture: "amd64", + }, "i4i.2xlarge": { InstanceType: "i4i.2xlarge", VCPU: 8, @@ -3231,6 +3343,20 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "amd64", }, + "m7i.metal-24xl": { + InstanceType: "m7i.metal-24xl", + VCPU: 96, + MemoryMb: 393216, + GPU: 0, + Architecture: "amd64", + }, + "m7i.metal-48xl": { + InstanceType: "m7i.metal-48xl", + VCPU: 192, + MemoryMb: 786432, + GPU: 0, + Architecture: "amd64", + }, "m7i.xlarge": { InstanceType: "m7i.xlarge", VCPU: 4, @@ -3245,6 +3371,13 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "amd64", }, + "mac2-m2.metal": { + InstanceType: "mac2-m2.metal", + VCPU: 8, + MemoryMb: 24576, + GPU: 0, + Architecture: "amd64", + }, "mac2.metal": { InstanceType: "mac2.metal", VCPU: 8, @@ -4379,6 +4512,13 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "amd64", }, + "r7a.metal-48xl": { + InstanceType: "r7a.metal-48xl", + VCPU: 192, + MemoryMb: 1572864, + GPU: 0, + Architecture: "amd64", + }, "r7a.xlarge": { InstanceType: "r7a.xlarge", VCPU: 4, @@ -4505,6 +4645,83 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "arm64", }, + "r7i.12xlarge": { + InstanceType: "r7i.12xlarge", + VCPU: 48, + MemoryMb: 393216, + GPU: 0, + Architecture: "amd64", + }, + "r7i.16xlarge": { + InstanceType: "r7i.16xlarge", + VCPU: 64, + MemoryMb: 524288, + GPU: 0, + Architecture: "amd64", + }, + "r7i.24xlarge": { + InstanceType: "r7i.24xlarge", + VCPU: 96, + MemoryMb: 786432, + GPU: 0, + Architecture: "amd64", + }, + "r7i.2xlarge": { + InstanceType: "r7i.2xlarge", + VCPU: 8, + MemoryMb: 65536, + GPU: 0, + Architecture: "amd64", + }, + "r7i.48xlarge": { + InstanceType: "r7i.48xlarge", + VCPU: 192, + MemoryMb: 1572864, + GPU: 0, + Architecture: "amd64", + }, + "r7i.4xlarge": { + InstanceType: "r7i.4xlarge", + VCPU: 16, + MemoryMb: 131072, + GPU: 0, + Architecture: "amd64", + }, + "r7i.8xlarge": { + InstanceType: "r7i.8xlarge", + VCPU: 32, + MemoryMb: 262144, + GPU: 0, + Architecture: "amd64", + }, + "r7i.large": { + InstanceType: "r7i.large", + VCPU: 2, + MemoryMb: 16384, + GPU: 0, + Architecture: "amd64", + }, + "r7i.metal-24xl": { + InstanceType: "r7i.metal-24xl", + VCPU: 96, + MemoryMb: 786432, + GPU: 0, + Architecture: "amd64", + }, + "r7i.metal-48xl": { + InstanceType: "r7i.metal-48xl", + VCPU: 192, + MemoryMb: 1572864, + GPU: 0, + Architecture: "amd64", + }, + "r7i.xlarge": { + InstanceType: "r7i.xlarge", + VCPU: 4, + MemoryMb: 32768, + GPU: 0, + Architecture: "amd64", + }, "r7iz.12xlarge": { InstanceType: "r7iz.12xlarge", VCPU: 48, @@ -4554,6 +4771,20 @@ var InstanceTypes = map[string]*InstanceType{ GPU: 0, Architecture: "amd64", }, + "r7iz.metal-16xl": { + InstanceType: "r7iz.metal-16xl", + VCPU: 64, + MemoryMb: 524288, + GPU: 0, + Architecture: "amd64", + }, + "r7iz.metal-32xl": { + InstanceType: "r7iz.metal-32xl", + VCPU: 128, + MemoryMb: 1048576, + GPU: 0, + Architecture: "amd64", + }, "r7iz.xlarge": { InstanceType: "r7iz.xlarge", VCPU: 4,