Part of the point of Services is that you don't have to discover the port - you can use known ports. That said, we also serve SRV records, so if you know the name of the port you want, you can find the number.
On Fri, May 12, 2017 at 8:56 AM, <che...@gmail.com> wrote: > Back to service reference across namespace, sure the FQDN can be used to > point to service in different namspace. I wonder how to find out the service > port value. In the same namespace, this can be obtained via the environment > value <service>_PORT. > > Please share > > thanks > > > -- > 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.