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

feat(eks): Pass bootstrap.sh args to avoid DescribeCluster call and make nodes join the cluster faster #12659

Merged
merged 3 commits into from
Apr 15, 2021

Conversation

anguslees
Copy link
Contributor

Pass sufficient information to bootstrap.sh in ASG user-data, to
prevent it from making a DescribeCluster AWS API call. This per-node
API call can become an issue in large clusters, and we already have
all the information to avoid it.


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

@gitpod-io
Copy link

gitpod-io bot commented Jan 22, 2021

@github-actions github-actions bot added the @aws-cdk/aws-eks Related to Amazon Elastic Kubernetes Service label Jan 22, 2021
@anguslees anguslees force-pushed the eks-bootstrap-args branch 3 times, most recently from 0de3128 to 76d4f66 Compare January 22, 2021 07:38
@iliapolo iliapolo added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Feb 10, 2021
@github-actions
Copy link

This PR has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Feb 15, 2021
@iliapolo
Copy link
Contributor

dont close

@github-actions github-actions bot removed closing-soon This issue will automatically close in 4 days unless further comments are made. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Feb 16, 2021
@iliapolo iliapolo added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Feb 21, 2021
@github-actions
Copy link

This PR has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Feb 24, 2021
@iliapolo
Copy link
Contributor

@anguslees Are you still keeping an eye out on this PR?

@github-actions github-actions bot removed closing-soon This issue will automatically close in 4 days unless further comments are made. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Feb 25, 2021
@anguslees anguslees force-pushed the eks-bootstrap-args branch 2 times, most recently from aba42bd to aabeaf0 Compare March 31, 2021 04:16
packages/@aws-cdk/aws-eks/lib/user-data.ts Outdated Show resolved Hide resolved
packages/@aws-cdk/aws-eks/test/test.user-data.ts Outdated Show resolved Hide resolved
Pass sufficient information to bootstrap.sh in ASG user-data, to
prevent it from making a DescribeCluster AWS API call.  This per-node
API call can become an issue in large clusters, and we already have
all the information to avoid it.
@anguslees anguslees force-pushed the eks-bootstrap-args branch from aabeaf0 to c95bc09 Compare April 12, 2021 03:24
@mergify mergify bot dismissed iliapolo’s stale review April 12, 2021 03:24

Pull request has been modified.

@iliapolo iliapolo changed the title feat(eks): Pass bootstrap.sh args to avoid DescribeCluster call feat(eks): Pass bootstrap.sh args to avoid DescribeCluster call and make nodes join the cluster faster Apr 15, 2021
iliapolo
iliapolo previously approved these changes Apr 15, 2021
@mergify
Copy link
Contributor

mergify bot commented Apr 15, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@iliapolo iliapolo added pr/do-not-merge This PR should not be merged at this time. and removed pr/do-not-merge This PR should not be merged at this time. labels Apr 15, 2021
@mergify mergify bot dismissed iliapolo’s stale review April 15, 2021 03:39

Pull request has been modified.

@mergify
Copy link
Contributor

mergify bot commented Apr 15, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: d9ed213
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@mergify
Copy link
Contributor

mergify bot commented Apr 15, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit f5616cc into aws:master Apr 15, 2021
@anguslees anguslees deleted the eks-bootstrap-args branch April 28, 2021 08:48
hollanddd pushed a commit to hollanddd/aws-cdk that referenced this pull request Aug 26, 2021
…ake nodes join the cluster faster (aws#12659)

Pass sufficient information to bootstrap.sh in ASG user-data, to
prevent it from making a DescribeCluster AWS API call.  This per-node
API call can become an issue in large clusters, and we already have
all the information to avoid it.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-eks Related to Amazon Elastic Kubernetes Service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants