Skip to content

feat(eks): support internal load balancers in isolated subnets#36892

Open
Ashutosh0x wants to merge 1 commit intoaws:mainfrom
Ashutosh0x:feat/eks-isolated-vpc-support
Open

feat(eks): support internal load balancers in isolated subnets#36892
Ashutosh0x wants to merge 1 commit intoaws:mainfrom
Ashutosh0x:feat/eks-isolated-vpc-support

Conversation

@Ashutosh0x
Copy link

This PR enables EKS clusters to use internal load balancers in Isolated Subnets by adding the necessary tags.

Problem

EKS clusters deployed in Isolated VPCs (no NAT Gateway) could not properly provision internal load balancers because the isolated subnets were missing the kubernetes.io/role/internal-elb tag required by the AWS cloud controller manager.

Solution

Automatically tag subnets of type PRIVATE_ISOLATED with kubernetes.io/role/internal-elb in the Cluster construct.

Split from #36871

@aws-cdk-automation aws-cdk-automation requested a review from a team February 5, 2026 14:10
@github-actions github-actions bot added beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK p2 labels Feb 5, 2026
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

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

The pull request linter fails with the following errors:

❌ Features must contain a change to a README file.
❌ Features must contain a change to a test file.
❌ Features must contain a change to an integration test file and the resulting snapshot.

If you believe this pull request should receive an exemption, please comment and provide a justification. A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed, add Clarification Request to a comment.

✅ A exemption request has been requested. Please wait for a maintainer's review.

@Ashutosh0x
Copy link
Author

Exemption Request

I have added unit tests covering the new functionality (tagging isolated subnets for internal ELBs). Running full integration tests for this change (spinning up an EKS cluster) is resource-intensive. The unit test verifies that the tags are correctly applied to the CloudFormation resources, which is the direct effect of this change.

@aws-cdk-automation aws-cdk-automation added the pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback. label Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK p2 pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants