aws-iam-authenticator: Constructing many clients error
Hello all, recently we’ve enabled aws-iam-authenticator and I’m seeing an error message whenever I run anything that uses --all-namespaces (i.e. kubectl --context cluster get pods --all-namespaces).
The error message in question is:
W0407 12:20:16.744257 32782 exec.go:203] constructing many client instances from the same exec auth config can cause performance problems during cert rotation and can exhaust available network connections; 1001 clients constructed calling "aws-iam-authenticator"
kubectl version v1.18.0 aws-iam-auth version: {“Version”:“v0.5.0”,“Commit”:“1cfe2a90f68381eacd7b6dcfa2bf689e76eb8b4b”} OSX: 10.14.6
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 9
- Comments: 18 (4 by maintainers)
/reopen This is still an issue Nothing has been resolved.
This warning appears continuously when running https://github.com/vmware-tanzu/octant
My errors looked like this:
So I just filtered it out with grep, but this is quite hacky:
Seeing this (slightly different message so adding for Google) when using
awsto load data from S3 ininitContainer: