On Sat, Mar 25, 2017 at 6:31 PM,  <govindaraj....@gmail.com> wrote:
> Hi All,
>
> I have currently setup 3 Kubernetes master with KubeDNS running. I have 5 
> Minions running with Kubeproxy installed.
>
> When I run nslookup as below inside container, it returns the ClusterIP of 
> the service. How can i get the Pod IP?

Pod IPs behind a service can change, so you should go there with great
caution.  If you really need this, you can use the "headless" mode of
services - set the clusterIP to "None".  After that, A lookups will
get the set of pod IPs.

> Also when i do a ping, nothing happens.

Services don't ping.

-- 
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.
  • [kubernetes-u... govindaraj . kct
    • Re: [kub... Rodrigo Campos
    • Re: [kub... 'Tim Hockin' via Kubernetes user discussion and Q&A
      • Re: ... 'David Aronchick' via Kubernetes user discussion and Q&A
        • ... govindaraj
          • ... 'David Aronchick' via Kubernetes user discussion and Q&A
          • ... 'Tim Hockin' via Kubernetes user discussion and Q&A

Reply via email to