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

Remove random wait at controller startup #150

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Conversation

juliabiro
Copy link
Contributor

@juliabiro juliabiro commented Jan 10, 2024

What is changing and why?

Remove the initial random waiting period before the controller starts polling the AWS API.

This was originally added because some users may run multiple instances of this controller, and if they all started up at the same time, they may exhaust the AWS SecretsManager API rate limits, which used to be much lower. The API ratelimits are now considerably elevated, plus there is an expontential backoff retry mechanism in place.
In case someone wants to orchestrate the startup of multiple controllers, they should do it in the kubernetes manifests.

This change also makes it quicker to develop kube-secret-syncer (because there is no waiting time for logs to appear).

@juliabiro juliabiro merged commit bbf7012 into master Jan 10, 2024
3 checks passed
@juliabiro juliabiro deleted the remove_initial_waiting branch January 10, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants