hellofresh / eks-rolling-update

EKS Rolling Update is a utility for updating the launch configuration of worker nodes in an EKS cluster.
Apache License 2.0
362 stars 80 forks source link

Question - Throttling request took 2.429459004s #93

Closed infa-ddeore closed 3 years ago

infa-ddeore commented 3 years ago

this isnt a bug or any issue.

what is meaning of below log that comes during the script run sometimes, do we need to find what request is throttled?

I0209 21:27:49.835447   59139 request.go:645] Throttling request took 2.429459004s, request: GET:https://xxxxxxxxxxxxxxx.gr7.us-west-2.eks.amazonaws.com/api/v1/namespaces/xxxxx-yyyy/pods/aaa-bbb-ccc-dddd-6b4f44c7f8-vtsr2
chadlwilson commented 3 years ago

It would be helpful if you would include the context of what the tool was doing at the same of this log, but given it is a Golang log, I imagine it's coming from kubectl during drain?

If so, what is your kubectl version?

infa-ddeore commented 3 years ago

i thought its the eks rolling update logs, i can dig at kubectl side

thx for the pointer

chadlwilson commented 3 years ago

eks-rolling-update relies on kubectl to drain nodes because this is only implemented client-side in kubectl currently. But if it wasn't draining nodes at that point, then it might be something else