Skip to content

Commit

Permalink
Update t4g and p4 instance limits
Browse files Browse the repository at this point in the history
  • Loading branch information
jayanthvn committed Nov 25, 2020
1 parent eb63a01 commit bf8d9be
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
12 changes: 10 additions & 2 deletions misc/eni-max-pods.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# express or implied. See the License for the specific language governing
# permissions and limitations under the License.
#
# This file was generated at 2020-08-04T15:58:40-07:00
# This file was generated at 2020-11-25T20:35:51Z
#
# Mapping is calculated from AWS EC2 API using the following formula:
# * First IP on each ENI is not used for pods
Expand Down Expand Up @@ -146,7 +146,7 @@ i3en.6xlarge 234
i3en.large 29
i3en.metal 737
i3en.xlarge 58
inf1.24xlarge 437
inf1.24xlarge 321
inf1.2xlarge 38
inf1.6xlarge 234
inf1.xlarge 38
Expand Down Expand Up @@ -242,6 +242,7 @@ p3.16xlarge 234
p3.2xlarge 58
p3.8xlarge 234
p3dn.24xlarge 737
p4d.24xlarge 737
r3.2xlarge 58
r3.4xlarge 234
r3.8xlarge 234
Expand Down Expand Up @@ -343,6 +344,13 @@ t3a.micro 4
t3a.nano 4
t3a.small 8
t3a.xlarge 58
t4g.2xlarge 58
t4g.large 35
t4g.medium 17
t4g.micro 4
t4g.nano 4
t4g.small 11
t4g.xlarge 58
u-12tb1.metal 147
u-18tb1.metal 737
u-24tb1.metal 737
Expand Down
12 changes: 10 additions & 2 deletions pkg/awsutils/vpc_ip_resource_limit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions scripts/gen_vpc_ip_limits.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,9 @@ func addManualLimits(limitMap map[string]awsutils.InstanceTypeLimits) map[string
"u-6tb1.metal": {ENILimit: 5, IPv4Limit: 30},
"u-9tb1.metal": {ENILimit: 5, IPv4Limit: 30},
"c5a.metal": {ENILimit: 15, IPv4Limit: 50},
"c5ad.12xlarge": {ENILimit: 8, IPv4Limit: 30},
"c5ad.16xlarge": {ENILimit: 15, IPv4Limit: 50},
"c5ad.24xlarge": {ENILimit: 15, IPv4Limit: 50},
"c5ad.2xlarge": {ENILimit: 4, IPv4Limit: 15},
"c5ad.4xlarge": {ENILimit: 8, IPv4Limit: 30},
"c5ad.8xlarge": {ENILimit: 8, IPv4Limit: 30},
"c5ad.large": {ENILimit: 3, IPv4Limit: 10},
"c5ad.metal": {ENILimit: 15, IPv4Limit: 50},
"c5ad.xlarge": {ENILimit: 4, IPv4Limit: 15},
"p4d.24xlarge": {ENILimit: 15, IPv4Limit: 50},
}
for instanceType, instanceLimits := range manuallyAddedLimits {
val, ok := limitMap[instanceType]
Expand Down

0 comments on commit bf8d9be

Please sign in to comment.