That was my first idea but - every time I rename first service I need to make config change in nginx pod.
Am I clear?
I was thinking about nginx env vars and having option to switch backend by env change - but I am jus gethering info about best approach to solve this.
Thank you.On Oct 19, 2016 6:45 PM, "Andy Goldstein" <agoldste redhat com> wrote:I would just make use of the DNS entry for the service, e.g. myservice.myproject.svc.cluste
r.local. See https://docs.openshift.org /latest/architecture/additionafor more details. l_concepts/networking.html# openshift-origin-dnsOn 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
I will convince Nginx
to use env variables if desired.
But what is the reight approach to referencing between individual pods
(which has its own routes, bc , dc).
e: david strejc gmail com
users mailing list
users lists openshift redhat c