From 8d6cc1d3dbbd4a06684b87a3814f2c50344c51ed Mon Sep 17 00:00:00 2001 From: Eddie Torres Date: Tue, 7 Nov 2023 14:21:06 +0000 Subject: [PATCH 1/2] Add volume limits for r7i Signed-off-by: Eddie Torres --- pkg/cloud/volume_limits.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cloud/volume_limits.go b/pkg/cloud/volume_limits.go index ef31303320..9dad8f9899 100644 --- a/pkg/cloud/volume_limits.go +++ b/pkg/cloud/volume_limits.go @@ -17,7 +17,7 @@ const ( func init() { // This list of Nitro instance types have a dedicated Amazon EBS volume limit of up to 128 attachments, depending on instance size. // The limit is not shared with other device attachments: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/volume_limits.html#nitro-system-limits - instanceFamilies := []string{"m7i", "m7a", "c7i", "c7a", "r7a", "r7iz"} + instanceFamilies := []string{"m7i", "m7a", "c7i", "c7a", "r7a", "r7i", "r7iz"} commonInstanceSizes := []string{"medium", "large", "xlarge", "2xlarge", "4xlarge", "8xlarge", "12xlarge"} for _, family := range instanceFamilies { From 6fc57adf3af665d5ff2a3e5a40fead1ff71e15fa Mon Sep 17 00:00:00 2001 From: Eddie Torres Date: Tue, 7 Nov 2023 16:43:15 +0000 Subject: [PATCH 2/2] Update instance sizes Signed-off-by: Eddie Torres --- pkg/cloud/volume_limits.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/cloud/volume_limits.go b/pkg/cloud/volume_limits.go index 9dad8f9899..1775353b87 100644 --- a/pkg/cloud/volume_limits.go +++ b/pkg/cloud/volume_limits.go @@ -24,8 +24,11 @@ func init() { for _, size := range commonInstanceSizes { dedicatedVolumeLimits[family+"."+size] = 32 } + dedicatedVolumeLimits[family+".metal-16xl"] = 31 + dedicatedVolumeLimits[family+".metal-24xl"] = 31 dedicatedVolumeLimits[family+".16xlarge"] = 48 dedicatedVolumeLimits[family+".24xlarge"] = 64 + dedicatedVolumeLimits[family+".metal-32xl"] = 79 dedicatedVolumeLimits[family+".metal-48xl"] = 79 dedicatedVolumeLimits[family+".32xlarge"] = 88 dedicatedVolumeLimits[family+".48xlarge"] = 128