[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Referencing between individual services



I would just make use of the DNS entry for the service, e.g. myservice.myproject.svc.cluster.local. SeeĀ https://docs.openshift.org/latest/architecture/additional_concepts/networking.html#openshift-origin-dns for more details.

On Wed, Oct 19, 2016 at 12:41 PM, David Strejc <david strejc gmail com> wrote:

Via routes or services.


On Oct 19, 2016 6:00 PM, "Andy Goldstein" <agoldste redhat com> wrote:
Do you want the nginx pod to proxy directly to the java pod, or do you want to go via routes or services to the java pod?

On Wed, Oct 19, 2016 at 5:51 AM, David Strejc <david strejc gmail com> wrote:
I got project and under that project I got deployed Java application.

It has its own route, service, bc, dc.

Now I will have another application build via npm and served by Nginx.

I want that nginx to proxy my Java application (just setting proxy
inside Nginx config) - does anybody have ideal "how to" for doing
that?

I will convince Nginx
(http://stackoverflow.com/questions/21866477/nginx-use-environment-variables)
to use env variables if desired.

But what is the reight approach to referencing between individual pods
(which has its own routes, bc , dc).

Thank you.

David Strejc
https://octopussystems.cz
t: +420734270131
e: david strejc gmail com

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]