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
[AWS] Set max results if its not set #106280
Conversation
* If max results is not set and instance IDs are not provided for the describe instances call in the aws cloud provider, set max results. * This prevents an expensive call against the EC2 API, which can result in timeouts.
@nckturner: This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/retest |
/lgtm |
ping @cheftako |
1 similar comment
ping @cheftako |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cheftako, nckturner The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@nckturner can you please backport this change to all maintained release branches? |
Any news @nckturner ? |
Yes, I can do that. |
Thanks, looking forward to it! |
…06280-upstream-release-1.22 Automated cherry pick of #106280: Set max results if its not set
…06280-upstream-release-1.21 Automated cherry pick of #106280: Set max results if its not set
…06280-upstream-release-1.23 Automated cherry pick of #106280: Set max results if its not set
* Use --EKS-PRIVATE-- in commit messages to determine which commits are intended to be private. * When the prepare_patches.sh script tries to determine the number of private patches, it looks at the EKSDataPlaneKubernetes repository, so the number of private and public patches is based off the patches you have in EKSDataPlaneKubernetes. * Use 0-public and 1-private for ordering sanity * Remove individual files instead of entire directory. Structure remove in a loop with a string concatenation so the target path is never empty. * Add max results patch for kubernetes#106280 * See the upstream PR (kubernetes#106280) * DROP in 1.24 cr: https://code.amazon.com/reviews/CR-64014162
What type of PR is this?
/kind bug
/sig cloud-provider
/cc @cheftako
What this PR does / why we need it:
For the legacy AWS cloud provider, if max results is not set and instance IDs are not provided for the DescribeInstances call, set max results to 1000. This prevents an expensive call against the EC2 API, which can result in timeouts or errors from the EC2 API.
Which issue(s) this PR fixes:
Ref: kubernetes/cloud-provider-aws#274
Ref: kubernetes/cloud-provider-aws#269
Special notes for your reviewer:
This PR is back porting a bug fix from the upstream AWS cloud provider, and is therefore a candidate to be merged to the legacy AWS cloud provider.
Does this PR introduce a user-facing change?