Skip to content

Commit

Permalink
Merge pull request #2548 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…2545-to-release-1.28

[release-1.28] chore: update max data disk num for v6 vm sku
  • Loading branch information
andyzhangx authored Oct 10, 2024
2 parents 163ccd2 + 8196140 commit 4711685
Showing 1 changed file with 83 additions and 0 deletions.
83 changes: 83 additions & 0 deletions pkg/azuredisk/azure_dd_max_disk_count.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,13 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_D16LDS_V5": 32,
"STANDARD_D16LS_V5": 32,
"STANDARD_D16PDS_V5": 32,
"STANDARD_D16PDS_V6": 48,
"STANDARD_D16PLDS_V5": 32,
"STANDARD_D16PLDS_V6": 48,
"STANDARD_D16PLS_V5": 32,
"STANDARD_D16PLS_V6": 48,
"STANDARD_D16PS_V5": 32,
"STANDARD_D16PS_V6": 48,
"STANDARD_D16S_V3": 32,
"STANDARD_D16S_V4": 32,
"STANDARD_D16S_V5": 32,
Expand All @@ -144,9 +148,13 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_D2LDS_V5": 4,
"STANDARD_D2LS_V5": 4,
"STANDARD_D2PDS_V5": 4,
"STANDARD_D2PDS_V6": 8,
"STANDARD_D2PLDS_V5": 4,
"STANDARD_D2PLDS_V6": 8,
"STANDARD_D2PLS_V5": 4,
"STANDARD_D2PLS_V6": 8,
"STANDARD_D2PS_V5": 4,
"STANDARD_D2PS_V6": 8,
"STANDARD_D2S_V3": 4,
"STANDARD_D2S_V4": 4,
"STANDARD_D2S_V5": 4,
Expand All @@ -170,9 +178,13 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_D32LDS_V5": 32,
"STANDARD_D32LS_V5": 32,
"STANDARD_D32PDS_V5": 32,
"STANDARD_D32PDS_V6": 64,
"STANDARD_D32PLDS_V5": 32,
"STANDARD_D32PLDS_V6": 64,
"STANDARD_D32PLS_V5": 32,
"STANDARD_D32PLS_V6": 64,
"STANDARD_D32PS_V5": 32,
"STANDARD_D32PS_V6": 64,
"STANDARD_D32S_V3": 32,
"STANDARD_D32S_V4": 32,
"STANDARD_D32S_V5": 32,
Expand All @@ -196,9 +208,13 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_D48LDS_V5": 32,
"STANDARD_D48LS_V5": 32,
"STANDARD_D48PDS_V5": 32,
"STANDARD_D48PDS_V6": 64,
"STANDARD_D48PLDS_V5": 32,
"STANDARD_D48PLDS_V6": 64,
"STANDARD_D48PLS_V5": 32,
"STANDARD_D48PLS_V6": 64,
"STANDARD_D48PS_V5": 32,
"STANDARD_D48PS_V6": 64,
"STANDARD_D48S_V3": 32,
"STANDARD_D48S_V4": 32,
"STANDARD_D48S_V5": 32,
Expand All @@ -219,9 +235,13 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_D4LDS_V5": 8,
"STANDARD_D4LS_V5": 8,
"STANDARD_D4PDS_V5": 8,
"STANDARD_D4PDS_V6": 12,
"STANDARD_D4PLDS_V5": 8,
"STANDARD_D4PLDS_V6": 12,
"STANDARD_D4PLS_V5": 8,
"STANDARD_D4PLS_V6": 12,
"STANDARD_D4PS_V5": 8,
"STANDARD_D4PS_V6": 12,
"STANDARD_D4S_V3": 8,
"STANDARD_D4S_V4": 8,
"STANDARD_D4S_V5": 8,
Expand All @@ -246,9 +266,13 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_D64LDS_V5": 32,
"STANDARD_D64LS_V5": 32,
"STANDARD_D64PDS_V5": 32,
"STANDARD_D64PDS_V6": 64,
"STANDARD_D64PLDS_V5": 32,
"STANDARD_D64PLDS_V6": 64,
"STANDARD_D64PLS_V5": 32,
"STANDARD_D64PLS_V6": 64,
"STANDARD_D64PS_V5": 32,
"STANDARD_D64PS_V6": 64,
"STANDARD_D64S_V3": 32,
"STANDARD_D64S_V4": 32,
"STANDARD_D64S_V5": 32,
Expand All @@ -269,9 +293,13 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_D8LDS_V5": 16,
"STANDARD_D8LS_V5": 16,
"STANDARD_D8PDS_V5": 16,
"STANDARD_D8PDS_V6": 24,
"STANDARD_D8PLDS_V5": 16,
"STANDARD_D8PLDS_V6": 24,
"STANDARD_D8PLS_V5": 16,
"STANDARD_D8PLS_V6": 24,
"STANDARD_D8PS_V5": 16,
"STANDARD_D8PS_V6": 24,
"STANDARD_D8S_V3": 16,
"STANDARD_D8S_V4": 16,
"STANDARD_D8S_V5": 16,
Expand All @@ -292,6 +320,10 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_D96D_V5": 32,
"STANDARD_D96LDS_V5": 32,
"STANDARD_D96LS_V5": 32,
"STANDARD_D96PDS_V6": 64,
"STANDARD_D96PLDS_V6": 64,
"STANDARD_D96PLS_V6": 64,
"STANDARD_D96PS_V6": 64,
"STANDARD_D96PDS_V5": 32,
"STANDARD_D96PLDS_V5": 32,
"STANDARD_D96PLS_V5": 32,
Expand Down Expand Up @@ -451,7 +483,9 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E16D_V4": 32,
"STANDARD_E16D_V5": 32,
"STANDARD_E16PDS_V5": 32,
"STANDARD_E16PDS_V6": 48,
"STANDARD_E16PS_V5": 32,
"STANDARD_E16PS_V6": 48,
"STANDARD_E16S_V3": 32,
"STANDARD_E16S_V4": 32,
"STANDARD_E16S_V5": 32,
Expand Down Expand Up @@ -487,7 +521,9 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E2D_V4": 4,
"STANDARD_E2D_V5": 4,
"STANDARD_E2PDS_V5": 4,
"STANDARD_E2PDS_V6": 8,
"STANDARD_E2PS_V5": 4,
"STANDARD_E2PS_V6": 8,
"STANDARD_E2S_V3": 4,
"STANDARD_E2S_V4": 4,
"STANDARD_E2S_V5": 4,
Expand Down Expand Up @@ -522,7 +558,9 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E32D_V4": 32,
"STANDARD_E32D_V5": 32,
"STANDARD_E32PDS_V5": 32,
"STANDARD_E32PDS_V6": 64,
"STANDARD_E32PS_V5": 32,
"STANDARD_E32PS_V6": 64,
"STANDARD_E32S_V3": 32,
"STANDARD_E32S_V4": 32,
"STANDARD_E32S_V5": 32,
Expand All @@ -548,6 +586,8 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E48DS_V5": 32,
"STANDARD_E48D_V4": 32,
"STANDARD_E48D_V5": 32,
"STANDARD_E48PDS_V6": 64,
"STANDARD_E48PS_V6": 64,
"STANDARD_E48PDS_V5": 32,
"STANDARD_E48PS_V5": 32,
"STANDARD_E48S_V3": 32,
Expand All @@ -568,7 +608,9 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E4D_V4": 8,
"STANDARD_E4D_V5": 8,
"STANDARD_E4PDS_V5": 8,
"STANDARD_E4PDS_V6": 12,
"STANDARD_E4PS_V5": 8,
"STANDARD_E4PS_V6": 12,
"STANDARD_E4S_V3": 8,
"STANDARD_E4S_V4": 8,
"STANDARD_E4S_V5": 8,
Expand Down Expand Up @@ -604,6 +646,8 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E64D_V5": 32,
"STANDARD_E64IS_V3": 32,
"STANDARD_E64I_V3": 32,
"STANDARD_E64PDS_V6": 64,
"STANDARD_E64PS_V6": 64,
"STANDARD_E64PDS_V5": 32,
"STANDARD_E64PS_V5": 32,
"STANDARD_E64S_V3": 32,
Expand Down Expand Up @@ -642,7 +686,9 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E8D_V4": 16,
"STANDARD_E8D_V5": 16,
"STANDARD_E8PDS_V5": 16,
"STANDARD_E8PDS_V6": 24,
"STANDARD_E8PS_V5": 16,
"STANDARD_E8PS_V6": 24,
"STANDARD_E8S_V3": 16,
"STANDARD_E8S_V4": 16,
"STANDARD_E8S_V5": 16,
Expand All @@ -668,6 +714,8 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E96DS_V5": 32,
"STANDARD_E96D_V5": 32,
"STANDARD_E96IAS_V4": 32,
"STANDARD_E96PDS_V6": 64,
"STANDARD_E96PS_V6": 64,
"STANDARD_E96PDS_V5": 32,
"STANDARD_E96PS_V5": 32,
"STANDARD_E96S_V5": 32,
Expand Down Expand Up @@ -785,6 +833,11 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_HB120-96RS_V3": 32,
"STANDARD_HB120RS_V2": 8,
"STANDARD_HB120RS_V3": 32,
"STANDARD_HB176-144RS_V4": 32,
"STANDARD_HB176-24RS_V4": 32,
"STANDARD_HB176-48RS_V4": 32,
"STANDARD_HB176-96RS_V4": 32,
"STANDARD_HB176RS_V4": 32,
"STANDARD_HB60-15RS": 4,
"STANDARD_HB60-30RS": 4,
"STANDARD_HB60-45RS": 4,
Expand Down Expand Up @@ -827,6 +880,9 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_M128-32MS": 64,
"STANDARD_M128": 64,
"STANDARD_M128-64MS": 64,
"STANDARD_M128BDS_3_V3": 64,
"STANDARD_M128BDS_V3": 64,
"STANDARD_M128BS_V3": 64,
"STANDARD_M128DMS_V2": 64,
"STANDARD_M128DS_V2": 64,
"STANDARD_M128M": 64,
Expand All @@ -838,7 +894,12 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_M12S_V3": 64,
"STANDARD_M16-4MS": 16,
"STANDARD_M16-8MS": 16,
"STANDARD_M16BDS_V3": 64,
"STANDARD_M16BS_V3": 64,
"STANDARD_M16MS": 16,
"STANDARD_M176BDS_4_V3": 64,
"STANDARD_M176BDS_V3": 64,
"STANDARD_M176BS_V3": 64,
"STANDARD_M176DS_3_V3": 64,
"STANDARD_M176DS_4_V3": 64,
"STANDARD_M176S_3_V3": 64,
Expand All @@ -853,21 +914,34 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_M24S_V3": 64,
"STANDARD_M32-16MS": 32,
"STANDARD_M32-8MS": 32,
"STANDARD_M32BDS_V3": 64,
"STANDARD_M32BS_V3": 64,
"STANDARD_M32DMS_V2": 32,
"STANDARD_M32LS": 32,
"STANDARD_M32MS": 32,
"STANDARD_M32MS_V2": 32,
"STANDARD_M32TS": 32,
"STANDARD_M416-208MS_V2": 64,
"STANDARD_M416-208S_V2": 64,
"STANDARD_M416DS_6_V3": 64,
"STANDARD_M416DS_8_V3": 64,
"STANDARD_M416MS_V2": 64,
"STANDARD_M416S_6_V3": 64,
"STANDARD_M416S_8_V2": 64,
"STANDARD_M416S_8_V3": 64,
"STANDARD_M416S_V2": 64,
"STANDARD_M48BDS_V3": 64,
"STANDARD_M48BS_V3": 64,
"STANDARD_M48DS_1_V3": 64,
"STANDARD_M48S_1_V3": 64,
"STANDARD_M624DS_12_V3": 64,
"STANDARD_M624S_12_V3": 64,
"STANDARD_M64-16MS": 64,
"STANDARD_M64-32MS": 64,
"STANDARD_M64": 64,
"STANDARD_M64BDS_1_V3": 64,
"STANDARD_M64BDS_V3": 64,
"STANDARD_M64BS_V3": 64,
"STANDARD_M64DMS_V2": 64,
"STANDARD_M64DS_V2": 64,
"STANDARD_M64LS": 64,
Expand All @@ -877,10 +951,17 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_M64S": 64,
"STANDARD_M64S_V2": 64,
"STANDARD_M8-2MS": 8,
"STANDARD_M832DS_12_V3": 64,
"STANDARD_M832IDS_16_V3": 64,
"STANDARD_M832IS_16_V3": 64,
"STANDARD_M832S_12_V3": 64,
"STANDARD_M832IXS": 64,
"STANDARD_M8-4MS": 8,
"STANDARD_M864IXS": 64,
"STANDARD_M8MS": 8,
"STANDARD_M96BDS_2_V3": 64,
"STANDARD_M96BDS_V3": 64,
"STANDARD_M96BS_V3": 64,
"STANDARD_M96DS_1_V3": 64,
"STANDARD_M96DS_2_V3": 64,
"STANDARD_M96S_1_V3": 64,
Expand All @@ -889,6 +970,7 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_NC12_PROMO": 48,
"STANDARD_NC12S_V2": 24,
"STANDARD_NC12S_V3": 24,
"STANDARD_NC16ADS_A10_V4": 16,
"STANDARD_NC16AS_T4_V3": 32,
"STANDARD_NC24": 64,
"STANDARD_NC24ADS_A100_V4": 8,
Expand All @@ -913,6 +995,7 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_NC8AS_T4_V3": 16,
"STANDARD_NC96ADS_A100_V4": 32,
"STANDARD_ND96IS_MI300X_V5": 16,
"STANDARD_ND96ISRF_H100_V5": 16,
"STANDARD_ND100IS_H100_V5": 16,
"STANDARD_ND96ISR_MI300X_V5": 16,
"STANDARD_ND100ISR_H100_V5": 16,
Expand Down

0 comments on commit 4711685

Please sign in to comment.