POD log is flooded with warning message from aws cli. #6596
Labels
eks
guidance
Question that needs advice or information.
third-party
This issue is related to third-party libraries or applications.
Confirm by changing [ ] to [x] below:
Issue is about usage on:
Platform/OS/Hardware/Device
centos VM using EKS 1.19 & EKS 1.21
Describe the question
When I am deploying various application pod in EKS 1.19 version cluster. After a API call to k8s cluster is done as part of application , The POD log is flooded with below error message.
W1207 14:08:21.496434 1 exec.go:282] constructing many client instances from the same exec auth config can cause performance problems during cert rotation and can exhaust available network connections; 27556 clients constructed calling "aws"
I did some homework and found out that any binary(may be aws-cli here) using client-go version below 1.21 will have this issue because there is a warning message present in exec.go file which will appear neumerous times.
[https://github.com/kubernetes/client-go/blob/release-1.20/plugin/pkg/client/auth/exec/exec.go#L282](exec.go of 1.20 ver)
So is it that aws-cli is using k8s client-go version below 1.20 ? I couldn't find out as the aws-cli is in python hence not sure how the code trace landing in exec.go from python. The issue is seen with EKS1.19 onwards.
This warning earlier used to come from "aws-iam-authenticator" calling binary. how to get rid of this warning?
Any clue would be greatly appreciated. Thanks in advance.
The text was updated successfully, but these errors were encountered: