-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Description
Describe the bug
I am using AWS cli with AWS EKS to get token and recently (most probably after an upgrade) the kubectl get commands are absolutely slow and after investigation, turned out the issue is caused byaws eks get-token
command in the kubeconfig.
but the issue actually seems to be with aws cli command itself, not getting the token. when I am trying even aws --version it takes almost 4 seconds to show the version. and when i run it with debug option, most of the wasted time is actually the time when no messages printed which i am wondering what is exactly happening in this time
this is my version, it's latest
aws --version
aws-cli/2.30.2 Python/3.13.7 Darwin/25.0.0 source/arm64
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
aws --version
to return results in milisecs
Current Behavior
aws --version
to return results in 3-4 seconds
Reproduction Steps
run aws --version
Possible Solution
No response
Additional Information/Context
No response
CLI version used
2.30.2
Environment details (OS name and version, etc.)
macOS Apple M3