Commit b91965c
authored
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- packages
- @aws-cdk-testing/framework-integ/test
- aws-eks/test
- integ.alb-controller-authapi.js.snapshot
- integ.alb-controller.js.snapshot
- integ.eks-addon.js.snapshot
- integ.eks-al2023-nodegroup.js.snapshot
- integ.eks-bottlerocket-ng.js.snapshot
- integ.eks-cluster-handlers-vpc.js.snapshot
- integ.eks-cluster-imported.js.snapshot
- integ.eks-cluster-ipv6.js.snapshot
- integ.eks-cluster-private-endpoint.js.snapshot
- integ.eks-cluster-tags.js.snapshot
- integ.eks-cluster.js.snapshot
- integ.eks-helm-asset.js.snapshot
- integ.eks-hybrid-nodes.js.snapshot
- asset.39472b1c2875cf306d4ba429aeccdd34cb49bcf59dbde81f7e6b6cb9deac23a6
- asset.572dd2416e786aa13287a5bcd2330ca9b49d9bb7403340990da8b466445db001
- asset.fba306965da4b2680dd8b4e6916610efe237162f913f22b10146f647b3f6bce4
- apply
- get
- helm
- patch
- integ.eks-inference-nodegroup.js.snapshot
- integ.eks-inference.js.snapshot
- integ.eks-pod-identities.js.snapshot
- integ.eks-pod-identities.test.js.snapshot
- integ.eks-service-account-sdk-call.js.snapshot
- integ.eks-standard-access-entry.js.snapshot
- integ.eks-subnet-updates.js.snapshot
- integ.eks-windows-ng.js.snapshot
- integ.fargate-cluster.js.snapshot
- aws-stepfunctions-tasks/test
- eks/integ.call.js.snapshot
- emrcontainers
- integ.job-submission-workflow.js.snapshot
- integ.start-job-run.js.snapshot
- aws-cdk-lib/aws-eks
- lib
- test
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 changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
772 | | - | |
| 772 | + | |
773 | 773 | | |
774 | 774 | | |
775 | 775 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
770 | | - | |
| 770 | + | |
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
893 | 893 | | |
894 | 894 | | |
895 | 895 | | |
896 | | - | |
| 896 | + | |
897 | 897 | | |
898 | 898 | | |
899 | 899 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
802 | | - | |
| 802 | + | |
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
802 | | - | |
| 802 | + | |
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
818 | | - | |
| 818 | + | |
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
841 | 841 | | |
842 | 842 | | |
843 | 843 | | |
844 | | - | |
| 844 | + | |
845 | 845 | | |
846 | 846 | | |
847 | 847 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1236 | 1236 | | |
1237 | 1237 | | |
1238 | 1238 | | |
1239 | | - | |
| 1239 | + | |
1240 | 1240 | | |
1241 | 1241 | | |
1242 | 1242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
802 | | - | |
| 802 | + | |
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
773 | | - | |
| 773 | + | |
774 | 774 | | |
775 | 775 | | |
776 | 776 | | |
| |||
0 commit comments