Skip to content

Commit

Permalink
chore: Update to latest ENI Max Pods file (#6147)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis authored May 6, 2024
1 parent 06e80f6 commit 0cc95ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/providers/instancetype/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ func efas(info *ec2.InstanceTypeInfo) *resource.Quantity {
func ENILimitedPods(ctx context.Context, info *ec2.InstanceTypeInfo) *resource.Quantity {
// The number of pods per node is calculated using the formula:
// max number of ENIs * (IPv4 Addresses per ENI -1) + 2
// https://github.com/awslabs/amazon-eks-ami/blob/master/files/eni-max-pods.txt#L20
// https://github.com/awslabs/amazon-eks-ami/blob/main/templates/shared/runtime/eni-max-pods.txt

// VPC CNI only uses the default network interface
// https://github.com/aws/amazon-vpc-cni-k8s/blob/3294231c0dce52cfe473bf6c62f47956a3b333b6/scripts/gen_vpc_ip_limits.go#L162
Expand Down

0 comments on commit 0cc95ba

Please sign in to comment.