Sort of, see the services without selectors: https://kubernetes.io/docs/concepts/services-networking/service/#without-selectors
On Tue, May 9, 2017 at 10:21 AM 'Ahmet Alp Balkan' via Kubernetes user discussion and Q&A <kubernetes-users@googlegroups.com> wrote: > Documentation on DNS records: > https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/ > > Side-question: is it possible to create a Service that points to pods in > namespaces different than the Service itself? > > On Tue, May 9, 2017 at 12:56 AM, 'David Oppenheimer' via Kubernetes user > discussion and Q&A <kubernetes-users@googlegroups.com> wrote: > >> If you have service A in namespace N, then you can reach it from >> namespace N as "A" and from any namespace as "A.N" >> >> On Mon, May 8, 2017 at 8:03 AM, Ashic Mahtab <ashic.mah...@gmail.com> >> wrote: >> >>> What's the relationship between services and namespaces? I'm creating an >>> ExternalName service called elasticsearch. If I put it in it's own >>> namespace, an app running in a different namespace can't seem to resolve >>> the service. Is there a way to deploy a service so that all namespaces can >>> access it? >>> >>> -- >>> 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. >> > > -- > 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.