From e1a00091867c021858479f3517e84486332c88d3 Mon Sep 17 00:00:00 2001 From: Jay Deokar Date: Fri, 8 Mar 2024 14:50:39 -0800 Subject: [PATCH] run make generate-limits --- misc/eni-max-pods.txt | 2 ++ pkg/vpc/vpc_ip_resource_limit.go | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/misc/eni-max-pods.txt b/misc/eni-max-pods.txt index 0b7294bbed..3cc4aa10db 100644 --- a/misc/eni-max-pods.txt +++ b/misc/eni-max-pods.txt @@ -195,6 +195,7 @@ c7gd.4xlarge 234 c7gd.8xlarge 234 c7gd.large 29 c7gd.medium 8 +c7gd.metal 737 c7gd.xlarge 58 c7gn.12xlarge 234 c7gn.16xlarge 737 @@ -708,6 +709,7 @@ r7gd.4xlarge 234 r7gd.8xlarge 234 r7gd.large 29 r7gd.medium 8 +r7gd.metal 737 r7gd.xlarge 58 r7i.12xlarge 234 r7i.16xlarge 737 diff --git a/pkg/vpc/vpc_ip_resource_limit.go b/pkg/vpc/vpc_ip_resource_limit.go index afee8011fa..77a4943de5 100644 --- a/pkg/vpc/vpc_ip_resource_limit.go +++ b/pkg/vpc/vpc_ip_resource_limit.go @@ -2224,6 +2224,20 @@ var instanceNetworkingLimits = map[string]InstanceTypeLimits{ HypervisorType: "nitro", IsBareMetal: false, }, + "c7gd.metal": { + ENILimit: 15, + IPv4Limit: 50, + DefaultNetworkCardIndex: 0, + NetworkCards: []NetworkCard{ + { + MaximumNetworkInterfaces: 15, + NetworkCardIndex: 0, + }, + + }, + HypervisorType: "unknown", + IsBareMetal: true, + }, "c7gd.xlarge": { ENILimit: 4, IPv4Limit: 15, @@ -9641,6 +9655,20 @@ var instanceNetworkingLimits = map[string]InstanceTypeLimits{ HypervisorType: "nitro", IsBareMetal: false, }, + "r7gd.metal": { + ENILimit: 15, + IPv4Limit: 50, + DefaultNetworkCardIndex: 0, + NetworkCards: []NetworkCard{ + { + MaximumNetworkInterfaces: 15, + NetworkCardIndex: 0, + }, + + }, + HypervisorType: "unknown", + IsBareMetal: true, + }, "r7gd.xlarge": { ENILimit: 4, IPv4Limit: 15,