Can it just use a DNS name? This is more stable and would likely provide what you need. If so, I'd create a service endpoint for the master, and that will take care of what you need.
On Mon, Mar 27, 2017 at 12:45 PM, govindaraj <govindaraj....@gmail.com> wrote: > I am trying to set up locust master / agent. All the agents need to know > locust master IP. When I use the name locust-master, it gets th cluster IP > of master. The cluster ip seems not rout able and the agents are not able > to connect to locust master. > > On Mar 27, 2017 1:38 AM, "'David Aronchick' via Kubernetes user discussion > and Q&A" <kubernetes-users@googlegroups.com> wrote: > > There may be another way to get at what you're looking to do - why do you > need the pod IP? > On Mon, Mar 27, 2017 at 07:35 'Tim Hockin' via Kubernetes user discussion > and Q&A <kubernetes-users@googlegroups.com> wrote: > >> 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. >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Kubernetes user discussion and Q&A" group. > To unsubscribe from this topic, visit https://groups.google.com/d/to > pic/kubernetes-users/p2SeUKK-eOg/unsubscribe. > To unsubscribe from this group and all its topics, 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. > > > -- > 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. > -- 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.