Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update instance type networking limits #1153

Merged
merged 1 commit into from
Jan 26, 2023
Merged

Update instance type networking limits #1153

merged 1 commit into from
Jan 26, 2023

Conversation

jdn5126
Copy link
Contributor

@jdn5126 jdn5126 commented Jan 25, 2023

Issue #, if available:
N/A

Description of changes:
Updates instance networking limits in eni-max-pods.txt. Mirrors aws/amazon-vpc-cni-k8s#2235

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Testing Done
N/A

@@ -209,7 +218,7 @@ g5.12xlarge 737
g5.16xlarge 234
g5.24xlarge 737
g5.2xlarge 58
g5.48xlarge 737
g5.48xlarge 345
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no idea, I just ran the VPC CNI script: https://github.com/aws/amazon-vpc-cni-k8s/blob/master/scripts/gen_vpc_ip_limits.go and saw that it pulled a new limit here

Copy link
Member

@Issacwww Issacwww Jan 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

based on the change in pkg/awsutils/vpc_ip_resource_limit.go in this PR, the ENILimit for g5.48xlarge changed from 15 to 7, double confirmed by checking DescribeInstanceTypes API, see the response of NetworkInfo for g5.48xlarge below

 "NetworkInfo": {
              "NetworkPerformance": "100 Gigabit",
              "MaximumNetworkInterfaces": 7,
              "MaximumNetworkCards": 1,
              "DefaultNetworkCardIndex": 0,
              "NetworkCards": [
                  {
                      "NetworkCardIndex": 0,
                      "NetworkPerformance": "100 Gigabit",
                      "MaximumNetworkInterfaces": 7
                  }
              ],
              "Ipv4AddressesPerInterface": 50,
              "Ipv6AddressesPerInterface": 50,
              "Ipv6Supported": true,
              "EnaSupport": "required",
              "EfaSupported": true,
              "EfaInfo": {
                  "MaximumEfaInterfaces": 1
              },
              "EncryptionInTransitSupported": true,
              "EnaSrdSupported": false
          }

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah nice, thank you for checking!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty odd that this changed, but the API doesn't lie. 👍

@cartermckinnon cartermckinnon merged commit d498b68 into awslabs:master Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants