Skip to content

Commit

Permalink
Update p4 instance limits
Browse files Browse the repository at this point in the history
  • Loading branch information
jayanthvn committed Nov 12, 2020
1 parent a68e810 commit 615a2a6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 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-09-30T15:27:32-07:00
# This file was generated at 2020-11-12T18:19:52Z
#
# 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 @@ -242,7 +242,7 @@ p3.16xlarge 234
p3.2xlarge 58
p3.8xlarge 234
p3dn.24xlarge 737
p4d.24xlarge 2942
p4d.24xlarge 737
r3.2xlarge 58
r3.4xlarge 234
r3.8xlarge 234
Expand Down
4 changes: 2 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.

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

0 comments on commit 615a2a6

Please sign in to comment.