diff --git a/pkg/cloud/volume_limits.go b/pkg/cloud/volume_limits.go index 92befd6952..63179e170f 100644 --- a/pkg/cloud/volume_limits.go +++ b/pkg/cloud/volume_limits.go @@ -14,13 +14,6 @@ const ( nitroMaxAttachments = 28 ) -// / It is possible to have an instance family where the virtualized instances are Nitro -// / and metal instances are not -var nonNitroInstances = map[string]struct{}{ - "c6i.metal": {}, - "g5g.metal": {}, -} - // / List of nitro instance types can be found here: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances var nonNitroInstanceFamilies = map[string]struct{}{ "t2": {}, @@ -41,10 +34,6 @@ var nonNitroInstanceFamilies = map[string]struct{}{ } func IsNitroInstanceType(it string) bool { - if _, ok := nonNitroInstances[it]; ok { - return false - } - strs := strings.Split(it, ".") if len(strs) != 2 { diff --git a/pkg/driver/node_test.go b/pkg/driver/node_test.go index 764a4f3737..f5ad975cce 100644 --- a/pkg/driver/node_test.go +++ b/pkg/driver/node_test.go @@ -1991,7 +1991,7 @@ func TestNodeGetInfo(t *testing.T) { region: "us-west-2", volumeAttachLimit: -1, attachedENIs: 1, - expMaxVolumes: 31, + expMaxVolumes: 27, // 28 (max) - 1 (eni) outpostArn: emptyOutpostArn, }, {