Skip to content
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

fix(eks): kubernetes cannot create external load balancers #5448

Merged
merged 4 commits into from
Dec 17, 2019

Conversation

eladb
Copy link
Contributor

@eladb eladb commented Dec 17, 2019

Add the tag "kubernetes.io/role/elb" to all public subnets, so Kubernetes can use these subnets when creating an external load balancer.

Fixes #5443


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Add the tag "kubernetes.io/role/elb" to all public subnets, so Kubernetes can use these subnets when creating an external load balancer.

Fixes #5443
@eladb eladb requested a review from a team December 17, 2019 12:30
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

for (const subnet of subnets) {
// if this is not a concrete subnet, attach a construct warning
if (!Subnet.isVpcSubnet(subnet)) {
const subnetId = Token.isUnresolved(subnet.subnetId) ? '' : subnet.subnetId;
Copy link
Contributor

Choose a reason for hiding this comment

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

If the subnet ID is a token, won't this generate a warning that is weirdly illegible?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let me try to improve...

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@eladb eladb merged commit 384d22d into master Dec 17, 2019
@eladb eladb deleted the benisrae/fix-external-elb branch December 17, 2019 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[aws-eks] Add "kubernetes.io/role/elb" tag to public subnets on creation
4 participants