-
Notifications
You must be signed in to change notification settings - Fork 40.3k
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
KUBE DNS Issue with Node JS there is error 1 Error: getaddrinfo EAI_AGAIN #68321
Comments
The output of Nevertheless, the error i think means a timeout - which can mean
Try ...
|
/sig network |
For what it's worth, I've been fighting this for a long time. First with kube-dns, then in an attempt to fix it, I switched to coredns, which seemed to fix it for a while, but now it's back. The coredns logs really don't show much of anything:
Though there are probably newer versions of coredns at this point. It's very inconsistent, maybe happens a few times a day. |
Like @SneakyMax , I tried moving to coredns, but even with the current release 1.2.6, I see this issue sometimes. For me, it arises in clusters that are only connected via a layer-2 switch as far as their calico routing. The L3 network is there, but we prefer not to bind kubernetes services to it. This is so that we can migrate the IP Ranges in the datacenter, without having to worry about etcd, cert issuance, what have you. |
Hey guys i am facing the same problem , i am on azure AKS with the following specs: |
Any update on this? @Nilubkal @charandas @SneakyMax I have this issue: |
Same issue with minikube (Server version v1.14.0) and a CPU intensive Node JS app.
|
Just adding my anecdotal experience with this issue in case anyone else has the same problem. We experienced a large amount of |
@saidmasoud Were the nodes overcommitted on memory in order for kube-dns pods to be OOMKilled? Maybe the number of connections dnsmasq supports need to be reduced? |
sorry @prameshj let me clarify: it was not the |
Thanks @saidmasoud, looks like this was a client-side error then. Closing this one, please reopen if this is something on the clusterDNS side. |
@prameshj: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Would like to ask how to resolve this issue. I am running a node JS app and one of my methods is as below:
Locally it is working fine. However, when I deploy to kubernetes, I get this error. there is error 1 Error: getaddrinfo EAI_AGAIN api.openweathermap.org api.openweathermap.org:80
So i assume its something to do with my kubedns issue and I did a bit of digging and I find that my dns has an endpoint. At this point, I am kinda unsure what to do next. I guess its something to do with my dns but I am unsure. ANy help?
The text was updated successfully, but these errors were encountered: