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

add a deadline to cloud client registration #120

Merged
merged 5 commits into from
Nov 1, 2023
Merged

Conversation

steved
Copy link
Contributor

@steved steved commented Oct 31, 2023

In AWS, it can take longer than the default to register a client
because of IMDS. By setting a deadline, we override the default
timeout. Adds debug logging to the AWS client.

Having a built-in env var for this is still pending: aws/aws-sdk-go#3495.

@steved steved force-pushed the steved/increase-deadline branch from 81b3741 to ab2f5f0 Compare November 1, 2023 00:53
@steved steved changed the title try a longer timeout at init add a deadline to cloud client registration Nov 1, 2023
@steved steved marked this pull request as ready for review November 1, 2023 00:54
@steved steved requested a review from fraenkel November 1, 2023 00:54
In AWS, it can take longer than the default to register a client
because of IMDS. By setting a deadline, we override the default
timeout.  Adds debug logging to the AWS client.
@steved steved force-pushed the steved/increase-deadline branch from b1ca64d to 782817e Compare November 1, 2023 01:01
@steved steved force-pushed the steved/increase-deadline branch from 782817e to d2482f0 Compare November 1, 2023 01:25
@steved steved force-pushed the steved/increase-deadline branch from d2482f0 to 98e463f Compare November 1, 2023 01:41
pkg/controller/start.go Show resolved Hide resolved
pkg/controller/start.go Outdated Show resolved Hide resolved
pkg/controller/support/credentials/cloudauth/ecr/ecr.go Outdated Show resolved Hide resolved
@steved steved merged commit 0cec590 into main Nov 1, 2023
@steved steved deleted the steved/increase-deadline branch November 1, 2023 19:00
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.

2 participants