Skip to content

feat(helm): Add SDK client-side rate limiting to Helm chart templates - #727

Open
NicholasBlaskey wants to merge 1 commit into
aws-controllers-k8s:mainfrom
NicholasBlaskey:sdk-rate-limiting
Open

feat(helm): Add SDK client-side rate limiting to Helm chart templates#727
NicholasBlaskey wants to merge 1 commit into
aws-controllers-k8s:mainfrom
NicholasBlaskey:sdk-rate-limiting

Conversation

@NicholasBlaskey

Copy link
Copy Markdown

Issue #, if available:

Description of changes: Helm support for aws-controllers-k8s/runtime#264

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

Adds sdkMaxTPS and sdkMaxBurst to the generated Helm chart values and
deployment template. When set, the controller passes --sdk-max-tps and
--sdk-max-burst flags to the ACK runtime, which wraps the AWS SDK HTTP
client with a token bucket rate limiter.

This allows operators to cap the controller's AWS API request rate,
preventing it from consuming the entire service-level quota. Useful for
services with low account-wide rate limits (e.g. Route53 at 5 req/s)
where other consumers share the same budget.

Values:
  aws.sdkMaxTPS: 0    # disabled by default, set per-service as needed
  aws.sdkMaxBurst: 5  # burst allowance for short request bursts

Requires ACK runtime >= sdk-rate-limiting.
@ack-prow
ack-prow Bot requested review from a-hilaly and knottnt August 5, 2026 22:24
@ack-prow

ack-prow Bot commented Aug 5, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: NicholasBlaskey
Once this PR has been reviewed and has the lgtm label, please assign jlbutler for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ack-prow ack-prow Bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 5, 2026
@ack-prow

ack-prow Bot commented Aug 5, 2026

Copy link
Copy Markdown

Hi @NicholasBlaskey. Thanks for your PR.

I'm waiting for a aws-controllers-k8s member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants