Hi Tim, 

Thanks for the quick replay. 
Essentially, I have something like the headless service described here 
https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/ deployed 
on kubernetes which is running on AWS. I wanna write data to those zookeeper 
pods from a AWS machine deployed in the same subnet and availability zone as 
the kubernetes worker nodes. So what I need is some sort of mechanism to map 
requests from the outside world to one zookeeper node like this one 
zk-0.zk-headless.default.svc.cluster.local:2181. Is that possible? 


Thanks!



On Monday, May 22, 2017 at 5:53:23 PM UTC+2, Tim Hockin wrote:
> In short, you can't.  That would require multiple IPs which are
> allocated and deallocated and retargetted as pods come and go.  This
> is not supported for now.  Maybe you can talk more about what you're
> trying to do?
> 
> On Mon, May 22, 2017 at 8:43 AM,   wrote:
> > Hello everybody,
> >
> > I'm reading the documentation and exploring headless services from 
> > kubernetes.
> > However,  I cannot find an official way on externalizing the FQDN names of 
> > the headless service to the outside world. I found a couple of links but 
> > they are either third party tools or incubation projects, is there a best 
> > way to do this with kubernetes 1.6?
> >
> > Tools that I found so far:
> > https://github.com/kubernetes-incubator/external-dns
> > https://github.com/wearemolecule/route53-kubernetes
> >
> > I'm deploying kubernetes on AWS.
> >
> > Thanks!
> > George
> >
> > --
> > 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.

Reply via email to