Skip to content

Conversation

@alexstojda
Copy link
Contributor

@alexstojda alexstojda commented Dec 23, 2025

What does it do ?

The previous change I made did not fix the rate limiting issues. This will provide an option to just skip the validation all together.

Flag will default to false, so that existing installations will still validate the API Key/Secret

Motivation

During startup, the client calls the endpoint https://api.godaddy.com/v1/domains?statuses=ACTIVE,PENDING_DNS_ACTIVE1 to test and validate that the credentials are working.

#4866 sought to fix an underlying issue by ignoring QUOTA_EXCEEDED errors on the initial validation call, since theory was that there was a per-endpoint limit. However, after running the fix for the last year, we still hit some other rate limit fairly often.

My understanding now is that there is still some global & account-level rate limit whose threshold is often hit because of the initial "validation" request.

Considering there are very few people reporting that they are running into this issue (I hypothesize this is because not many people are using the godaddy provider at a similar scale), I decided that it would be a more effective approach to provide the option to disable that validation on startup altogether.

More

  • Yes, this PR title follows Conventional Commits
  • Yes, I added unit tests
  • Yes, I updated end user documentation accordingly

Relates to #4866

@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 23, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign raffo 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

@k8s-ci-robot k8s-ci-robot added the apis Issues or PRs related to API change label Dec 23, 2025
@k8s-ci-robot k8s-ci-robot added controller Issues or PRs related to the controller provider Issues or PRs related to a provider needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Dec 23, 2025
@k8s-ci-robot
Copy link
Contributor

Hi @alexstojda. Thanks for your PR.

I'm waiting for a github.com 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.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. docs labels Dec 23, 2025
@alexstojda alexstojda marked this pull request as ready for review December 23, 2025 19:59
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 23, 2025
@mloiseleur
Copy link
Collaborator

Can you detail your motivation?

🤔 How avoiding validation on the API key may fix the rate limit issue with the GoDaddy API?

@alexstojda
Copy link
Contributor Author

@mloiseleur I've updated the PR description to elaborate :)

@mloiseleur
Copy link
Collaborator

mloiseleur commented Dec 30, 2025

@alexstojda I'm probably missing something here 🤔.

Are you saying that you hit the rate/limit because of

a. a single startup request?
b. a request that is launched on every reconcile loop?

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 30, 2025
@alexstojda
Copy link
Contributor Author

@alexstojda I'm probably missing something here 🤔.

Are you saying that you hit the rate/limit because of

a. a single startup request? b. a request that is launched on every reconcile loop?

My current theory is that it is the single startup request, because there is some undocumented monthly rate limits at the account level (and we use the same GoDaddy account across multiple environments).

There is of course no documentation to support this, just what we've seen and what I documented in my testing previously in #4866

The previous change I made did not fix the rate limiting issues. This will provide an option to just skip the validation all together.

Flag will default to false, so that existing installations will still validate the API Key/Secret

# Conflicts:
#	pkg/apis/externaldns/types.go
# Conflicts:
#	pkg/apis/externaldns/types.go
@alexstojda alexstojda force-pushed the feat/godaddy/option-disable-startup-validation branch from b8c4b9b to ab4a18a Compare December 30, 2025 16:31
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

apis Issues or PRs related to API change cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. controller Issues or PRs related to the controller docs needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. provider Issues or PRs related to a provider size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants