Skip to content

Commit b91965c

Browse files
authoredFeb 12, 2025··
feat(eks): add L2 constructs to support EKS Hybrid Nodes (#32389)
### Issue # (if applicable) Closes #32362. ### Reason for this change This change allows users to specify the networking primitives for an EKS Hybrid nodes cluster through L2 constructs. ### Description of changes This PR introduces two new top-level fields called `remoteNodeNetworks` and `remotePodNetworks` in the Cluster construct. Together, these allow users to specify the exact CIDRs ranges they want to use for their on-premises nodes and (optionally) pods. The Hybrid nodes feature requires that none of the node and pod CIDRs overlap with each other so I have also added validations for that. ### Description of how you validated changes Added unit tests with different testcases involving different remote network configurations. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 1d15d49 commit b91965c

File tree

54 files changed

+10047
-26
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+10047
-26
lines changed
 

‎packages/@aws-cdk-testing/framework-integ/test/aws-eks/test/integ.alb-controller-authapi.js.snapshot/integ-eks-stack.template.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@
769769
"Arn"
770770
]
771771
},
772-
"AttributesRevision": 3
772+
"AttributesRevision": 4
773773
},
774774
"DependsOn": [
775775
"ClusterCreationRoleDefaultPolicyE8BDFC7B",

‎packages/@aws-cdk-testing/framework-integ/test/aws-eks/test/integ.alb-controller.js.snapshot/aws-cdk-eks-cluster-alb-controller.template.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@
767767
"Arn"
768768
]
769769
},
770-
"AttributesRevision": 3
770+
"AttributesRevision": 4
771771
},
772772
"DependsOn": [
773773
"ClusterCreationRoleDefaultPolicyE8BDFC7B",

0 commit comments

Comments
 (0)
Please sign in to comment.