Update: I am able to ping external IP addresses from the container, but the external hostnames are not being resolved. So, the problem could be with my "kube-dns" setup.
/etc/resolv.conf (container and the node): https://gist.github.com/mydharma/1eb901619c125503995f3724cce3add9 On Thursday, October 13, 2016 at 11:15:27 PM UTC-7, Gopi wrote: > > Hi, > > I face an issue after deploying an application to Kubernetes that I am not > able to access anything over the Internet from "inside the container". But, > I am able to do that from the node on which the pod is running. In other > words, I am able to pull the images from Dockerhub, but when I "exec" into > the container, I cannot ping any external IPs. > > Cloud Provider: AWS > iptables on the node: > https://gist.github.com/mydharma/5ed595c026975fe91558452e34b5354b > <https://www.google.com/url?q=https%3A%2F%2Fgist.github.com%2Fmydharma%2F5ed595c026975fe91558452e34b5354b&sa=D&sntz=1&usg=AFQjCNG3Pf02tNRmaPHKtVoOVWEMXnDtiQ> > > The first suggestion I got is to check the iptables, but I couldn't debug > it (see above gist) as I am not an expert in understanding the iptables > output. > > Any help would be appreciated. > > Thank you. > -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.