-
Notifications
You must be signed in to change notification settings - Fork 161
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
helm dependency update extremely slow when authenticated with EC2 role #132
Comments
Something relative with this PR? aws sdk go latest version is v1.36.25 already: https://github.com/aws/aws-sdk-go/releases/tag/v1.36.25 ours is
Line 11 in 5312896
|
could you build the plugin by yourself with latest aws sdk go version |
I'm not seeing such extreme slowness, but working with S3 repository is noticeably slower - it went from few seconds to ~1 min. |
We are noticing an extremely significant slow down on version 0.9.2 and 10.0.0. up to 12times. could it maybe be due to the new s3 downloader thingy: https://github.com/aws/aws-sdk-go/pull/2823/files ? |
I can confirm, that when using the AWS keys of an IAM user directly, the apply is again fast. I guess we need to look closer in this aws sdk lib to find out what is hapening. |
In our case, a simple |
I use gitlab-runner to build lots of my helm charts. Lots of the pipeline would run
helm dependency update
.I recently rebuilt the docker image that does the job. The helm s3 plugin was upgraded to the latest because I didn't specify the version number.
Now the
helm dependency update
would take 16 minutes to finish, which used to take less than two minutes.After some investigation I found that the slowiness was caused by authenticatint through EC2 role.
If I add
~/.aws/credentials
to the docker image,helm dependency update
finishes instantly.The text was updated successfully, but these errors were encountered: