From e0cc42ef815ac406c380d151aae8fe5c1f720e5e Mon Sep 17 00:00:00 2001 From: Prashanth684 Date: Wed, 20 Apr 2022 10:12:36 -0700 Subject: [PATCH] update azure instance types to include new arm instances. xref: https://github.com/kubernetes/autoscaler/pull/4818 --- .../machineset/azure_instance_types.go | 455 ++++++++++++++++++ 1 file changed, 455 insertions(+) diff --git a/pkg/cloud/azure/actuators/machineset/azure_instance_types.go b/pkg/cloud/azure/actuators/machineset/azure_instance_types.go index 3ba4358d6..2fc579237 100644 --- a/pkg/cloud/azure/actuators/machineset/azure_instance_types.go +++ b/pkg/cloud/azure/actuators/machineset/azure_instance_types.go @@ -419,6 +419,34 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_D16pds_v5": { + InstanceType: "Standard_D16pds_v5", + VCPU: 16, + MemoryMb: 65536, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D16plds_v5": { + InstanceType: "Standard_D16plds_v5", + VCPU: 16, + MemoryMb: 32768, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D16pls_v5": { + InstanceType: "Standard_D16pls_v5", + VCPU: 16, + MemoryMb: 32768, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D16ps_v5": { + InstanceType: "Standard_D16ps_v5", + VCPU: 16, + MemoryMb: 65536, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_D16s_v3": { InstanceType: "Standard_D16s_v3", VCPU: 16, @@ -517,6 +545,34 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_D2pds_v5": { + InstanceType: "Standard_D2pds_v5", + VCPU: 2, + MemoryMb: 8192, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D2plds_v5": { + InstanceType: "Standard_D2plds_v5", + VCPU: 2, + MemoryMb: 4096, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D2pls_v5": { + InstanceType: "Standard_D2pls_v5", + VCPU: 2, + MemoryMb: 4096, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D2ps_v5": { + InstanceType: "Standard_D2ps_v5", + VCPU: 2, + MemoryMb: 8192, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_D2s_v3": { InstanceType: "Standard_D2s_v3", VCPU: 2, @@ -594,6 +650,34 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_D32pds_v5": { + InstanceType: "Standard_D32pds_v5", + VCPU: 32, + MemoryMb: 131072, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D32plds_v5": { + InstanceType: "Standard_D32plds_v5", + VCPU: 32, + MemoryMb: 65536, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D32pls_v5": { + InstanceType: "Standard_D32pls_v5", + VCPU: 32, + MemoryMb: 65536, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D32ps_v5": { + InstanceType: "Standard_D32ps_v5", + VCPU: 32, + MemoryMb: 131072, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_D32s_v3": { InstanceType: "Standard_D32s_v3", VCPU: 32, @@ -685,6 +769,34 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_D48pds_v5": { + InstanceType: "Standard_D48pds_v5", + VCPU: 48, + MemoryMb: 196608, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D48plds_v5": { + InstanceType: "Standard_D48plds_v5", + VCPU: 48, + MemoryMb: 98304, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D48pls_v5": { + InstanceType: "Standard_D48pls_v5", + VCPU: 48, + MemoryMb: 98304, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D48ps_v5": { + InstanceType: "Standard_D48ps_v5", + VCPU: 48, + MemoryMb: 196608, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_D48s_v3": { InstanceType: "Standard_D48s_v3", VCPU: 48, @@ -769,6 +881,34 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_D4pds_v5": { + InstanceType: "Standard_D4pds_v5", + VCPU: 4, + MemoryMb: 16384, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D4plds_v5": { + InstanceType: "Standard_D4plds_v5", + VCPU: 4, + MemoryMb: 8192, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D4pls_v5": { + InstanceType: "Standard_D4pls_v5", + VCPU: 4, + MemoryMb: 8192, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D4ps_v5": { + InstanceType: "Standard_D4ps_v5", + VCPU: 4, + MemoryMb: 16384, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_D4s_v3": { InstanceType: "Standard_D4s_v3", VCPU: 4, @@ -783,6 +923,13 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_D4s_v5": { + InstanceType: "Standard_D4s_v5", + VCPU: 4, + MemoryMb: 16384, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_D5_v2": { InstanceType: "Standard_D5_v2", VCPU: 16, @@ -853,6 +1000,34 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_D64pds_v5": { + InstanceType: "Standard_D64pds_v5", + VCPU: 64, + MemoryMb: 262144, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D64plds_v5": { + InstanceType: "Standard_D64plds_v5", + VCPU: 64, + MemoryMb: 131072, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D64pls_v5": { + InstanceType: "Standard_D64pls_v5", + VCPU: 64, + MemoryMb: 131072, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D64ps_v5": { + InstanceType: "Standard_D64ps_v5", + VCPU: 64, + MemoryMb: 262144, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_D64s_v3": { InstanceType: "Standard_D64s_v3", VCPU: 64, @@ -923,6 +1098,34 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_D8pds_v5": { + InstanceType: "Standard_D8pds_v5", + VCPU: 8, + MemoryMb: 32768, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D8plds_v5": { + InstanceType: "Standard_D8plds_v5", + VCPU: 8, + MemoryMb: 16384, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D8pls_v5": { + InstanceType: "Standard_D8pls_v5", + VCPU: 8, + MemoryMb: 16384, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_D8ps_v5": { + InstanceType: "Standard_D8ps_v5", + VCPU: 8, + MemoryMb: 32768, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_D8s_v3": { InstanceType: "Standard_D8s_v3", VCPU: 8, @@ -937,6 +1140,13 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_D8s_v5": { + InstanceType: "Standard_D8s_v5", + VCPU: 8, + MemoryMb: 32768, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_D96a_v4": { InstanceType: "Standard_D96a_v4", VCPU: 96, @@ -1308,6 +1518,20 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_E16bds_v5": { + InstanceType: "Standard_E16bds_v5", + VCPU: 16, + MemoryMb: 131072, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_E16bs_v5": { + InstanceType: "Standard_E16bs_v5", + VCPU: 16, + MemoryMb: 131072, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_E16d_v4": { InstanceType: "Standard_E16d_v4", VCPU: 16, @@ -1322,6 +1546,20 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_E16pds_v5": { + InstanceType: "Standard_E16pds_v5", + VCPU: 16, + MemoryMb: 131072, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_E16ps_v5": { + InstanceType: "Standard_E16ps_v5", + VCPU: 16, + MemoryMb: 131072, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_E16s_v3": { InstanceType: "Standard_E16s_v3", VCPU: 16, @@ -1378,6 +1616,20 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_E20pds_v5": { + InstanceType: "Standard_E20pds_v5", + VCPU: 20, + MemoryMb: 163840, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_E20ps_v5": { + InstanceType: "Standard_E20ps_v5", + VCPU: 20, + MemoryMb: 163840, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_E20s_v3": { InstanceType: "Standard_E20s_v3", VCPU: 20, @@ -1420,6 +1672,20 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: false, }, + "Standard_E2bds_v5": { + InstanceType: "Standard_E2bds_v5", + VCPU: 2, + MemoryMb: 16384, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_E2bs_v5": { + InstanceType: "Standard_E2bs_v5", + VCPU: 2, + MemoryMb: 16384, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_E2d_v4": { InstanceType: "Standard_E2d_v4", VCPU: 2, @@ -1434,6 +1700,20 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_E2pds_v5": { + InstanceType: "Standard_E2pds_v5", + VCPU: 2, + MemoryMb: 16384, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_E2ps_v5": { + InstanceType: "Standard_E2ps_v5", + VCPU: 2, + MemoryMb: 16384, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_E2s_v3": { InstanceType: "Standard_E2s_v3", VCPU: 2, @@ -1532,6 +1812,20 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_E32bds_v5": { + InstanceType: "Standard_E32bds_v5", + VCPU: 32, + MemoryMb: 262144, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_E32bs_v5": { + InstanceType: "Standard_E32bs_v5", + VCPU: 32, + MemoryMb: 262144, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_E32d_v4": { InstanceType: "Standard_E32d_v4", VCPU: 32, @@ -1546,6 +1840,20 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_E32pds_v5": { + InstanceType: "Standard_E32pds_v5", + VCPU: 32, + MemoryMb: 262144, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_E32ps_v5": { + InstanceType: "Standard_E32ps_v5", + VCPU: 32, + MemoryMb: 262144, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_E32s_v3": { InstanceType: "Standard_E32s_v3", VCPU: 32, @@ -1616,6 +1924,20 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_E48bds_v5": { + InstanceType: "Standard_E48bds_v5", + VCPU: 48, + MemoryMb: 393216, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_E48bs_v5": { + InstanceType: "Standard_E48bs_v5", + VCPU: 48, + MemoryMb: 393216, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_E48d_v4": { InstanceType: "Standard_E48d_v4", VCPU: 48, @@ -1672,6 +1994,20 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_E4bds_v5": { + InstanceType: "Standard_E4bds_v5", + VCPU: 4, + MemoryMb: 32768, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_E4bs_v5": { + InstanceType: "Standard_E4bs_v5", + VCPU: 4, + MemoryMb: 32768, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_E4d_v4": { InstanceType: "Standard_E4d_v4", VCPU: 4, @@ -1686,6 +2022,20 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_E4pds_v5": { + InstanceType: "Standard_E4pds_v5", + VCPU: 4, + MemoryMb: 32768, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_E4ps_v5": { + InstanceType: "Standard_E4ps_v5", + VCPU: 4, + MemoryMb: 32768, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_E4s_v3": { InstanceType: "Standard_E4s_v3", VCPU: 4, @@ -1784,6 +2134,20 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_E64bds_v5": { + InstanceType: "Standard_E64bds_v5", + VCPU: 64, + MemoryMb: 524288, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_E64bs_v5": { + InstanceType: "Standard_E64bs_v5", + VCPU: 64, + MemoryMb: 524288, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_E64d_v4": { InstanceType: "Standard_E64d_v4", VCPU: 64, @@ -1924,6 +2288,20 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_E8bds_v5": { + InstanceType: "Standard_E8bds_v5", + VCPU: 8, + MemoryMb: 65536, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_E8bs_v5": { + InstanceType: "Standard_E8bs_v5", + VCPU: 8, + MemoryMb: 65536, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_E8d_v4": { InstanceType: "Standard_E8d_v4", VCPU: 8, @@ -1938,6 +2316,20 @@ var InstanceTypes = map[string]*instanceType{ GPU: 0, AcceleratedNetworking: true, }, + "Standard_E8pds_v5": { + InstanceType: "Standard_E8pds_v5", + VCPU: 8, + MemoryMb: 65536, + GPU: 0, + AcceleratedNetworking: true, + }, + "Standard_E8ps_v5": { + InstanceType: "Standard_E8ps_v5", + VCPU: 8, + MemoryMb: 65536, + GPU: 0, + AcceleratedNetworking: true, + }, "Standard_E8s_v3": { InstanceType: "Standard_E8s_v3", VCPU: 8, @@ -2617,6 +3009,13 @@ var InstanceTypes = map[string]*instanceType{ GPU: 2, AcceleratedNetworking: true, }, + "Standard_NC16ads_A10_v4": { + InstanceType: "Standard_NC16ads_A10_v4", + VCPU: 16, + MemoryMb: 204800, + GPU: 1, + AcceleratedNetworking: true, + }, "Standard_NC16as_T4_v3": { InstanceType: "Standard_NC16as_T4_v3", VCPU: 16, @@ -2680,6 +3079,13 @@ var InstanceTypes = map[string]*instanceType{ GPU: 4, AcceleratedNetworking: true, }, + "Standard_NC32ads_A10_v4": { + InstanceType: "Standard_NC32ads_A10_v4", + VCPU: 32, + MemoryMb: 409600, + GPU: 2, + AcceleratedNetworking: true, + }, "Standard_NC4as_T4_v3": { InstanceType: "Standard_NC4as_T4_v3", VCPU: 4, @@ -2722,6 +3128,13 @@ var InstanceTypes = map[string]*instanceType{ GPU: 1, AcceleratedNetworking: true, }, + "Standard_NC8ads_A10_v4": { + InstanceType: "Standard_NC8ads_A10_v4", + VCPU: 8, + MemoryMb: 102400, + GPU: 1, + AcceleratedNetworking: true, + }, "Standard_NC8as_T4_v3": { InstanceType: "Standard_NC8as_T4_v3", VCPU: 8, @@ -2778,6 +3191,13 @@ var InstanceTypes = map[string]*instanceType{ GPU: 2, AcceleratedNetworking: false, }, + "Standard_NV12ads_A10_v5": { + InstanceType: "Standard_NV12ads_A10_v5", + VCPU: 12, + MemoryMb: 112640, + GPU: 1, + AcceleratedNetworking: true, + }, "Standard_NV12s_v2": { InstanceType: "Standard_NV12s_v2", VCPU: 12, @@ -2799,6 +3219,13 @@ var InstanceTypes = map[string]*instanceType{ GPU: 1, AcceleratedNetworking: true, }, + "Standard_NV18ads_A10_v5": { + InstanceType: "Standard_NV18ads_A10_v5", + VCPU: 18, + MemoryMb: 225280, + GPU: 1, + AcceleratedNetworking: true, + }, "Standard_NV24": { InstanceType: "Standard_NV24", VCPU: 24, @@ -2834,6 +3261,20 @@ var InstanceTypes = map[string]*instanceType{ GPU: 1, AcceleratedNetworking: true, }, + "Standard_NV36adms_A10_v5": { + InstanceType: "Standard_NV36adms_A10_v5", + VCPU: 36, + MemoryMb: 901120, + GPU: 1, + AcceleratedNetworking: true, + }, + "Standard_NV36ads_A10_v5": { + InstanceType: "Standard_NV36ads_A10_v5", + VCPU: 36, + MemoryMb: 450560, + GPU: 1, + AcceleratedNetworking: true, + }, "Standard_NV48s_v3": { InstanceType: "Standard_NV48s_v3", VCPU: 48, @@ -2862,6 +3303,13 @@ var InstanceTypes = map[string]*instanceType{ GPU: 1, AcceleratedNetworking: false, }, + "Standard_NV6ads_A10_v5": { + InstanceType: "Standard_NV6ads_A10_v5", + VCPU: 6, + MemoryMb: 56320, + GPU: 1, + AcceleratedNetworking: true, + }, "Standard_NV6s_v2": { InstanceType: "Standard_NV6s_v2", VCPU: 6, @@ -2869,6 +3317,13 @@ var InstanceTypes = map[string]*instanceType{ GPU: 1, AcceleratedNetworking: false, }, + "Standard_NV72ads_A10_v5": { + InstanceType: "Standard_NV72ads_A10_v5", + VCPU: 72, + MemoryMb: 901120, + GPU: 2, + AcceleratedNetworking: true, + }, "Standard_NV8as_v4": { InstanceType: "Standard_NV8as_v4", VCPU: 8,