From a346d772a3a872faee149ce244e95806b73b9aba Mon Sep 17 00:00:00 2001 From: Marwan Ahmed Date: Mon, 4 Jan 2021 18:11:38 +0200 Subject: [PATCH] regenerate azure instance list --- .../azure/azure_instance_types.go | 198 +++++++++++++++++- 1 file changed, 192 insertions(+), 6 deletions(-) diff --git a/cluster-autoscaler/cloudprovider/azure/azure_instance_types.go b/cluster-autoscaler/cloudprovider/azure/azure_instance_types.go index 521d3c94b9aa..ad59da295ba4 100644 --- a/cluster-autoscaler/cloudprovider/azure/azure_instance_types.go +++ b/cluster-autoscaler/cloudprovider/azure/azure_instance_types.go @@ -328,12 +328,24 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 65536, GPU: 0, }, + "Standard_D16a_v3": { + InstanceType: "Standard_D16a_v3", + VCPU: 16, + MemoryMb: 65536, + GPU: 0, + }, "Standard_D16a_v4": { InstanceType: "Standard_D16a_v4", VCPU: 16, MemoryMb: 65536, GPU: 0, }, + "Standard_D16as_v3": { + InstanceType: "Standard_D16as_v3", + VCPU: 16, + MemoryMb: 65536, + GPU: 0, + }, "Standard_D16as_v4": { InstanceType: "Standard_D16as_v4", VCPU: 16, @@ -400,12 +412,24 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 8192, GPU: 0, }, + "Standard_D2a_v3": { + InstanceType: "Standard_D2a_v3", + VCPU: 2, + MemoryMb: 8192, + GPU: 0, + }, "Standard_D2a_v4": { InstanceType: "Standard_D2a_v4", VCPU: 2, MemoryMb: 8192, GPU: 0, }, + "Standard_D2as_v3": { + InstanceType: "Standard_D2as_v3", + VCPU: 2, + MemoryMb: 8192, + GPU: 0, + }, "Standard_D2as_v4": { InstanceType: "Standard_D2as_v4", VCPU: 2, @@ -454,12 +478,24 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 131072, GPU: 0, }, + "Standard_D32a_v3": { + InstanceType: "Standard_D32a_v3", + VCPU: 32, + MemoryMb: 131072, + GPU: 0, + }, "Standard_D32a_v4": { InstanceType: "Standard_D32a_v4", VCPU: 32, MemoryMb: 131072, GPU: 0, }, + "Standard_D32as_v3": { + InstanceType: "Standard_D32as_v3", + VCPU: 32, + MemoryMb: 131072, + GPU: 0, + }, "Standard_D32as_v4": { InstanceType: "Standard_D32as_v4", VCPU: 32, @@ -520,12 +556,24 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 196608, GPU: 0, }, + "Standard_D48a_v3": { + InstanceType: "Standard_D48a_v3", + VCPU: 48, + MemoryMb: 196608, + GPU: 0, + }, "Standard_D48a_v4": { InstanceType: "Standard_D48a_v4", VCPU: 48, MemoryMb: 196608, GPU: 0, }, + "Standard_D48as_v3": { + InstanceType: "Standard_D48as_v3", + VCPU: 48, + MemoryMb: 196608, + GPU: 0, + }, "Standard_D48as_v4": { InstanceType: "Standard_D48as_v4", VCPU: 48, @@ -580,12 +628,24 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 16384, GPU: 0, }, + "Standard_D4a_v3": { + InstanceType: "Standard_D4a_v3", + VCPU: 4, + MemoryMb: 16384, + GPU: 0, + }, "Standard_D4a_v4": { InstanceType: "Standard_D4a_v4", VCPU: 4, MemoryMb: 16384, GPU: 0, }, + "Standard_D4as_v3": { + InstanceType: "Standard_D4as_v3", + VCPU: 4, + MemoryMb: 16384, + GPU: 0, + }, "Standard_D4as_v4": { InstanceType: "Standard_D4as_v4", VCPU: 4, @@ -640,12 +700,24 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 262144, GPU: 0, }, + "Standard_D64a_v3": { + InstanceType: "Standard_D64a_v3", + VCPU: 64, + MemoryMb: 262144, + GPU: 0, + }, "Standard_D64a_v4": { InstanceType: "Standard_D64a_v4", VCPU: 64, MemoryMb: 262144, GPU: 0, }, + "Standard_D64as_v3": { + InstanceType: "Standard_D64as_v3", + VCPU: 64, + MemoryMb: 262144, + GPU: 0, + }, "Standard_D64as_v4": { InstanceType: "Standard_D64as_v4", VCPU: 64, @@ -688,12 +760,24 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 32768, GPU: 0, }, + "Standard_D8a_v3": { + InstanceType: "Standard_D8a_v3", + VCPU: 8, + MemoryMb: 32768, + GPU: 0, + }, "Standard_D8a_v4": { InstanceType: "Standard_D8a_v4", VCPU: 8, MemoryMb: 32768, GPU: 0, }, + "Standard_D8as_v3": { + InstanceType: "Standard_D8as_v3", + VCPU: 8, + MemoryMb: 32768, + GPU: 0, + }, "Standard_D8as_v4": { InstanceType: "Standard_D8as_v4", VCPU: 8, @@ -718,12 +802,6 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 32768, GPU: 0, }, - "Standard_DC2s": { - InstanceType: "Standard_DC2s", - VCPU: 2, - MemoryMb: 8192, - GPU: 0, - }, "Standard_D8s_v4": { InstanceType: "Standard_D8s_v4", VCPU: 8, @@ -748,6 +826,12 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 4096, GPU: 0, }, + "Standard_DC2s": { + InstanceType: "Standard_DC2s", + VCPU: 2, + MemoryMb: 8192, + GPU: 0, + }, "Standard_DC2s_v2": { InstanceType: "Standard_DC2s_v2", VCPU: 2, @@ -970,6 +1054,12 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 57344, GPU: 0, }, + "Standard_E16-4as_v4": { + InstanceType: "Standard_E16-4as_v4", + VCPU: 16, + MemoryMb: 131072, + GPU: 0, + }, "Standard_E16-4ds_v4": { InstanceType: "Standard_E16-4ds_v4", VCPU: 16, @@ -988,6 +1078,12 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 131072, GPU: 0, }, + "Standard_E16-8as_v4": { + InstanceType: "Standard_E16-8as_v4", + VCPU: 16, + MemoryMb: 131072, + GPU: 0, + }, "Standard_E16-8ds_v4": { InstanceType: "Standard_E16-8ds_v4", VCPU: 16, @@ -1150,6 +1246,12 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 16384, GPU: 0, }, + "Standard_E32-16as_v4": { + InstanceType: "Standard_E32-16as_v4", + VCPU: 32, + MemoryMb: 262144, + GPU: 0, + }, "Standard_E32-16ds_v4": { InstanceType: "Standard_E32-16ds_v4", VCPU: 32, @@ -1168,6 +1270,12 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 262144, GPU: 0, }, + "Standard_E32-8as_v4": { + InstanceType: "Standard_E32-8as_v4", + VCPU: 32, + MemoryMb: 262144, + GPU: 0, + }, "Standard_E32-8ds_v4": { InstanceType: "Standard_E32-8ds_v4", VCPU: 32, @@ -1234,6 +1342,12 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 262144, GPU: 0, }, + "Standard_E4-2as_v4": { + InstanceType: "Standard_E4-2as_v4", + VCPU: 4, + MemoryMb: 32768, + GPU: 0, + }, "Standard_E4-2ds_v4": { InstanceType: "Standard_E4-2ds_v4", VCPU: 4, @@ -1348,6 +1462,12 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 32768, GPU: 0, }, + "Standard_E64-16as_v4": { + InstanceType: "Standard_E64-16as_v4", + VCPU: 64, + MemoryMb: 524288, + GPU: 0, + }, "Standard_E64-16ds_v4": { InstanceType: "Standard_E64-16ds_v4", VCPU: 64, @@ -1366,6 +1486,12 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 516096, GPU: 0, }, + "Standard_E64-32as_v4": { + InstanceType: "Standard_E64-32as_v4", + VCPU: 64, + MemoryMb: 524288, + GPU: 0, + }, "Standard_E64-32ds_v4": { InstanceType: "Standard_E64-32ds_v4", VCPU: 64, @@ -1444,6 +1570,12 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 516096, GPU: 0, }, + "Standard_E8-2as_v4": { + InstanceType: "Standard_E8-2as_v4", + VCPU: 8, + MemoryMb: 65536, + GPU: 0, + }, "Standard_E8-2ds_v4": { InstanceType: "Standard_E8-2ds_v4", VCPU: 8, @@ -1462,6 +1594,12 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 65536, GPU: 0, }, + "Standard_E8-4as_v4": { + InstanceType: "Standard_E8-4as_v4", + VCPU: 8, + MemoryMb: 65536, + GPU: 0, + }, "Standard_E8-4ds_v4": { InstanceType: "Standard_E8-4ds_v4", VCPU: 8, @@ -1480,6 +1618,18 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 65536, GPU: 0, }, + "Standard_E80ids_v4": { + InstanceType: "Standard_E80ids_v4", + VCPU: 80, + MemoryMb: 516096, + GPU: 0, + }, + "Standard_E80is_v4": { + InstanceType: "Standard_E80is_v4", + VCPU: 80, + MemoryMb: 516096, + GPU: 0, + }, "Standard_E8_v3": { InstanceType: "Standard_E8_v3", VCPU: 8, @@ -1528,6 +1678,18 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 65536, GPU: 0, }, + "Standard_E96-24as_v4": { + InstanceType: "Standard_E96-24as_v4", + VCPU: 96, + MemoryMb: 688128, + GPU: 0, + }, + "Standard_E96-48as_v4": { + InstanceType: "Standard_E96-48as_v4", + VCPU: 96, + MemoryMb: 688128, + GPU: 0, + }, "Standard_E96a_v4": { InstanceType: "Standard_E96a_v4", VCPU: 96, @@ -2086,6 +2248,12 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 229376, GPU: 2, }, + "Standard_NC16as_T4_v3": { + InstanceType: "Standard_NC16as_T4_v3", + VCPU: 16, + MemoryMb: 114688, + GPU: 1, + }, "Standard_NC24": { InstanceType: "Standard_NC24", VCPU: 24, @@ -2134,12 +2302,24 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 458752, GPU: 4, }, + "Standard_NC4as_T4_v3": { + InstanceType: "Standard_NC4as_T4_v3", + VCPU: 4, + MemoryMb: 28672, + GPU: 1, + }, "Standard_NC6": { InstanceType: "Standard_NC6", VCPU: 6, MemoryMb: 57344, GPU: 1, }, + "Standard_NC64as_T4_v3": { + InstanceType: "Standard_NC64as_T4_v3", + VCPU: 64, + MemoryMb: 458752, + GPU: 4, + }, "Standard_NC6_Promo": { InstanceType: "Standard_NC6_Promo", VCPU: 6, @@ -2182,6 +2362,12 @@ var InstanceTypes = map[string]*InstanceType{ MemoryMb: 114688, GPU: 1, }, + "Standard_NC8as_T4_v3": { + InstanceType: "Standard_NC8as_T4_v3", + VCPU: 8, + MemoryMb: 57344, + GPU: 1, + }, "Standard_ND40rs_v2": { InstanceType: "Standard_ND40rs_v2", VCPU: 40,