-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Discovery subnets by available ip addresses #2146
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
Discovery subnets by available ip addresses #2146
Conversation
Hi @oliviassss. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Codecov Report
@@ Coverage Diff @@
## main #2146 +/- ##
==========================================
+ Coverage 52.04% 52.11% +0.06%
==========================================
Files 132 132
Lines 7130 7148 +18
==========================================
+ Hits 3711 3725 +14
- Misses 3131 3135 +4
Partials 288 288
Continue to review full report at Codecov.
|
/ok-to-test |
3785191
to
2694b20
Compare
2694b20
to
8925c89
Compare
2e4f00e
to
857ce64
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kishorj, oliviassss The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
Can we add a doc update for this feature? Probably here https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.3/deploy/subnet_discovery/ |
@mikestef9 Sure, will update it in the patch release, thanks. |
* discovery subnet by the count of available ip address * update unit test for subnet_resolver * filter subnets before iterating subnetsByAZ * decouple buildLoadBalancerSubnets from buildLoadBalancerSubnetMappings
Issue
#2056
Description
Add a new step in subnet discovery, which is to select subnets based on the count of available IP addresses.
ALB:To ensure that the load balancer can scale properly, each Availability Zone subnet has at least 8 free IP addresses per subnet. (Ref: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#subnets-load-balancer)
NLB: For internet-facing load balancers, the subnets must have at least 8 available IP addresses. For internal load balancers, this is only required if the user let AWS select a private IPv4 address from the subnet. (Ref: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html)
Checklist
README.md
, or thedocs
directory)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯