Skip to content

Commit

Permalink
Merge pull request #4428 from sturman/CA-AWS-EC2-Instance-List-Update…
Browse files Browse the repository at this point in the history
…-29-Oct-2021

Cluster-Autoscaler update AWS EC2 instance types with c6i.* and dl1.*
  • Loading branch information
k8s-ci-robot authored Nov 1, 2021
2 parents c4b56ea + 8042678 commit a237608
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cluster-autoscaler/cloudprovider/aws/aws_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var (
ec2MetaDataServiceUrl = "http://169.254.169.254"
ec2PricingServiceUrlTemplate = "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonEC2/current/%s/index.json"
ec2PricingServiceUrlTemplateCN = "https://pricing.cn-north-1.amazonaws.com.cn/offers/v1.0/cn/AmazonEC2/current/%s/index.json"
staticListLastUpdateTime = "2021-10-03"
staticListLastUpdateTime = "2021-10-29"
ec2Arm64Processors = []string{"AWS Graviton Processor", "AWS Graviton2 Processor"}
)

Expand Down
84 changes: 84 additions & 0 deletions cluster-autoscaler/cloudprovider/aws/ec2_instance_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,76 @@ var InstanceTypes = map[string]*InstanceType{
GPU: 0,
Architecture: "arm64",
},
"c6i": {
InstanceType: "c6i",
VCPU: 128,
MemoryMb: 0,
GPU: 0,
Architecture: "amd64",
},
"c6i.12xlarge": {
InstanceType: "c6i.12xlarge",
VCPU: 48,
MemoryMb: 98304,
GPU: 0,
Architecture: "amd64",
},
"c6i.16xlarge": {
InstanceType: "c6i.16xlarge",
VCPU: 64,
MemoryMb: 131072,
GPU: 0,
Architecture: "amd64",
},
"c6i.24xlarge": {
InstanceType: "c6i.24xlarge",
VCPU: 96,
MemoryMb: 196608,
GPU: 0,
Architecture: "amd64",
},
"c6i.2xlarge": {
InstanceType: "c6i.2xlarge",
VCPU: 8,
MemoryMb: 16384,
GPU: 0,
Architecture: "amd64",
},
"c6i.32xlarge": {
InstanceType: "c6i.32xlarge",
VCPU: 128,
MemoryMb: 262144,
GPU: 0,
Architecture: "amd64",
},
"c6i.4xlarge": {
InstanceType: "c6i.4xlarge",
VCPU: 16,
MemoryMb: 32768,
GPU: 0,
Architecture: "amd64",
},
"c6i.8xlarge": {
InstanceType: "c6i.8xlarge",
VCPU: 32,
MemoryMb: 65536,
GPU: 0,
Architecture: "amd64",
},
"c6i.large": {
InstanceType: "c6i.large",
VCPU: 2,
MemoryMb: 4096,
GPU: 0,
Architecture: "amd64",
},
"c6i.xlarge": {
InstanceType: "c6i.xlarge",
VCPU: 4,
MemoryMb: 8192,
GPU: 0,
Architecture: "amd64",
},
"cc2.8xlarge": {
InstanceType: "cc2.8xlarge",
VCPU: 32,
Expand Down Expand Up @@ -813,6 +883,20 @@ var InstanceTypes = map[string]*InstanceType{
GPU: 0,
Architecture: "amd64",
},
"dl1": {
InstanceType: "dl1",
VCPU: 96,
MemoryMb: 0,
GPU: 0,
Architecture: "amd64",
},
"dl1.24xlarge": {
InstanceType: "dl1.24xlarge",
VCPU: 96,
MemoryMb: 786432,
GPU: 0,
Architecture: "amd64",
},
"f1": {
InstanceType: "f1",
VCPU: 64,
Expand Down

0 comments on commit a237608

Please sign in to comment.