[feat aga] Implement endpoint group management with port override conflict resolution #4470
+4,965
−137
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is copy of approved PR #4463 with some refactors.
New commit : [feat aga] addressing feedback for refactoring
This PR introduces comprehensive endpoint group management capabilities for AGA in the AWS Load Balancer Controller. The implementation includes endpoint group reconciliation logic, conflict detection and resolution, and full lifecycle management (creation, updates, and deletion) within the AGA controller.
This PR is divided in multiple commits for easier review. (The earlier PR is not yet merged so please ignore the duplicate commits from the older PR only focus on the following commits for this PR)
Description
[feat aga] Implement model builder for endpoint groups
[feat aga] few bugfixes and code refactoring
[feat aga] Implement endpoint group deployer with port override conf
This commit includes two parts.
Endpoint Group Management
synthesizeEndpointGroupsOnListenerPort Override Conflict Resolution
Implemented
detectConflictsWithSDKEndpointGroupsto identify region-specific port conflictsCreated two-phase conflict resolution algorithm in
ProcessEndpointGroupPortOverrides:Added validation rules ensuring endpoint ports don't overlap with listener port ranges
Ensured listener ports in port overrides remain within listener port range specifications
Checklist
README.md, or thedocsdirectory)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯