Skip to content

Conversation

@mengqiy
Copy link
Contributor

@mengqiy mengqiy commented May 23, 2025

Issue #, if available:

Description of changes:

  • tests/assets/amazon-eks-vpc-big.json contains the VPC with /12 CIDR
  • VPC setup task will reserve /13 for prefix in those /12 CIDR. The reason why we don't reserve the full /12 CIDR is that IPAMD in VPC CNI picks the subnet with max number of AvailableIpAddressCount. If we reserve full /12 for prefix, AvailableIpAddressCount will become 0 and IPAMD will skip it.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@hakuna-matatah hakuna-matatah left a comment

Choose a reason for hiding this comment

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

Lgtm

@mengqiy mengqiy merged commit 0dedf25 into awslabs:main May 27, 2025
4 checks passed
@mengqiy mengqiy deleted the bigvpc branch May 27, 2025 18:40
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.

2 participants