Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update max azure data disk count map #96308

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 18 additions & 0 deletions pkg/volume/azuredd/azure_dd_max_disk_count.go
Expand Up @@ -144,6 +144,7 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_DC2S_V2": 2,
"STANDARD_DC4S": 4,
"STANDARD_DC4S_V2": 4,
"STANDARD_DC8S": 8,
"STANDARD_DC8_V2": 8,
"STANDARD_DS11-1_V2": 8,
"STANDARD_DS11": 8,
Expand Down Expand Up @@ -178,9 +179,11 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_DS4_V2_PROMO": 32,
"STANDARD_DS5_V2": 64,
"STANDARD_DS5_V2_PROMO": 64,
"STANDARD_E16-4AS_V4": 32,
"STANDARD_E16-4DS_V4": 32,
"STANDARD_E16-4S_V3": 32,
"STANDARD_E16-4S_V4": 32,
"STANDARD_E16-8AS_V4": 32,
"STANDARD_E16-8DS_V4": 32,
"STANDARD_E16-8S_V3": 32,
"STANDARD_E16-8S_V4": 32,
Expand Down Expand Up @@ -208,9 +211,11 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E2S_V4": 4,
"STANDARD_E2_V3": 4,
"STANDARD_E2_V4": 4,
"STANDARD_E32-16AS_V4": 32,
"STANDARD_E32-16DS_V4": 32,
"STANDARD_E32-16S_V3": 32,
"STANDARD_E32-16S_V4": 32,
"STANDARD_E32-8AS_V4": 32,
"STANDARD_E32-8DS_V4": 32,
"STANDARD_E32-8S_V3": 32,
"STANDARD_E32-8S_V4": 32,
Expand All @@ -222,6 +227,7 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E32S_V4": 32,
"STANDARD_E32_V3": 32,
"STANDARD_E32_V4": 32,
"STANDARD_E4-2AS_V4": 8,
"STANDARD_E4-2DS_V4": 8,
"STANDARD_E4-2S_V3": 8,
"STANDARD_E4-2S_V4": 8,
Expand All @@ -241,9 +247,11 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E4S_V4": 8,
"STANDARD_E4_V3": 8,
"STANDARD_E4_V4": 8,
"STANDARD_E64-16AS_V4": 32,
"STANDARD_E64-16DS_V4": 32,
"STANDARD_E64-16S_V3": 32,
"STANDARD_E64-16S_V4": 32,
"STANDARD_E64-32AS_V4": 32,
"STANDARD_E64-32DS_V4": 32,
"STANDARD_E64-32S_V3": 32,
"STANDARD_E64-32S_V4": 32,
Expand All @@ -257,9 +265,13 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E64S_V4": 32,
"STANDARD_E64_V3": 32,
"STANDARD_E64_V4": 32,
"STANDARD_E80IDS_V4": 32,
"STANDARD_E80IS_V4": 32,
"STANDARD_E8-2AS_V4": 16,
"STANDARD_E8-2DS_V4": 16,
"STANDARD_E8-2S_V3": 16,
"STANDARD_E8-2S_V4": 16,
"STANDARD_E8-4AS_V4": 16,
"STANDARD_E8-4DS_V4": 16,
"STANDARD_E8-4S_V3": 16,
"STANDARD_E8-4S_V4": 16,
Expand All @@ -271,6 +283,8 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E8S_V4": 16,
"STANDARD_E8_V3": 16,
"STANDARD_E8_V4": 16,
"STANDARD_E96-24AS_V4": 32,
"STANDARD_E96-48AS_V4": 32,
"STANDARD_E96AS_V4": 32,
"STANDARD_E96A_V4": 32,
"STANDARD_F1": 4,
Expand Down Expand Up @@ -364,6 +378,7 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_NC12_PROMO": 48,
"STANDARD_NC12S_V2": 24,
"STANDARD_NC12S_V3": 24,
"STANDARD_NC16AS_T4_V3": 32,
"STANDARD_NC24": 64,
"STANDARD_NC24_PROMO": 64,
"STANDARD_NC24R": 64,
Expand All @@ -372,10 +387,13 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_NC24RS_V3": 32,
"STANDARD_NC24S_V2": 32,
"STANDARD_NC24S_V3": 32,
"STANDARD_NC4AS_T4_V3": 8,
"STANDARD_NC6": 24,
"STANDARD_NC64AS_T4_V3": 32,
"STANDARD_NC6_PROMO": 24,
"STANDARD_NC6S_V2": 12,
"STANDARD_NC6S_V3": 12,
"STANDARD_NC8AS_T4_V3": 16,
"STANDARD_ND12S": 24,
"STANDARD_ND24RS": 32,
"STANDARD_ND24S": 32,
Expand Down