-
Notifications
You must be signed in to change notification settings - Fork 182
Add attach limits for C3 Baremetal and A4X + A4X-Max machine types #2138
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -350,6 +350,81 @@ func TestNodeGetVolumeLimits(t *testing.T) { | |
| machineType: "c4d-standard-32", | ||
| expVolumeLimit: 31, | ||
| }, | ||
| { | ||
| name: "c3-highcpu-192-metal", | ||
| machineType: "c3-highcpu-192-metal", | ||
| expVolumeLimit: c3MetalHyperdiskLimit, | ||
| }, | ||
| { | ||
| name: "c3-standard-192-metal", | ||
| machineType: "c3-standard-192-metal", | ||
| expVolumeLimit: c3MetalHyperdiskLimit, | ||
| }, | ||
| { | ||
| name: "c3-highmem-192-metal", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are we planning to backport this? Since this is way lower than the 128(for both PD and Hyperdisk), backport request will be rejected.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But metal is new, so this doesn't affect existing workloads? That is to say we should be able to backport this.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. NVM it does not support PD at all. |
||
| machineType: "c3-highmem-192-metal", | ||
| expVolumeLimit: c3MetalHyperdiskLimit, | ||
| }, | ||
| { | ||
| name: "a4x-highgpu-1g", | ||
| machineType: "a4x-highgpu-1g", | ||
| expVolumeLimit: 63, | ||
| }, | ||
| { | ||
| name: "a4x-highgpu-2g", | ||
| machineType: "a4x-highgpu-2g", | ||
| expVolumeLimit: 127, | ||
| }, | ||
| { | ||
| name: "a4x-highgpu-2g-nolssd", | ||
| machineType: "a4x-highgpu-2g-nolssd", | ||
| expVolumeLimit: 127, | ||
| }, | ||
| { | ||
| name: "a4x-highgpu-4g", | ||
| machineType: "a4x-highgpu-4g", | ||
| expVolumeLimit: 127, | ||
| }, | ||
| { | ||
| name: "a4x-highgpu-8g", | ||
| machineType: "a4x-highgpu-8g", | ||
| expVolumeLimit: 127, | ||
| }, | ||
| { | ||
| name: "a4x-highgpu-metal", | ||
| machineType: "a4x-highgpu-metal", | ||
| expVolumeLimit: a4xMetalHyperdiskLimit, | ||
| }, | ||
| { | ||
| name: "a4x-max-metal", | ||
| machineType: "a4x-max-metal", | ||
| expVolumeLimit: a4xMetalHyperdiskLimit, | ||
| }, | ||
| { | ||
| name: "a4x-max-1g", | ||
| machineType: "a4x-max-1g", | ||
| expVolumeLimit: 63, | ||
| }, | ||
| { | ||
| name: "a4x-max-highgpu-2g", | ||
| machineType: "a4x-max-2g", | ||
| expVolumeLimit: 127, | ||
| }, | ||
| { | ||
| name: "a4x-max-4g", | ||
| machineType: "a4x-max-4g", | ||
| expVolumeLimit: 127, | ||
| }, | ||
|
mattcary marked this conversation as resolved.
|
||
| { | ||
| name: "a4x-max-8g", // -8g does not exist, testing edge case | ||
| machineType: "a4x-max-8g", | ||
| expVolumeLimit: 127, | ||
| }, | ||
| { | ||
| name: "a4x-medgpu-nolssd", // does not exist, testing edge case | ||
| machineType: "a4x-medgpu-nolssd", | ||
| expVolumeLimit: volumeLimitBig, | ||
| }, | ||
| } | ||
|
|
||
| for _, tc := range testCases { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if we can add this here? Because c3 VMs still support PD disks, and their attach limit is 128
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"C3-metal only supports Hyperdisk block storage, specifically GCP Hyperdisk Extreme and GCP Hyperdisk Balanced with the NVMe interface."