Skip to content

Commit

Permalink
Merge pull request #1832 from torredil/vol-limits-12763
Browse files Browse the repository at this point in the history
Add volume limits for r7i
  • Loading branch information
k8s-ci-robot authored Nov 7, 2023
2 parents 27d1a99 + 6fc57ad commit d071db8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/cloud/volume_limits.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,18 @@ 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 {
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
Expand Down

0 comments on commit d071db8

Please sign in to comment.