Hi.

In addition to Łukasz answer I strongly suggest to use a dedicated project for the different router.

The reason for this suggestion is that you can define a node selector for the namespace and threfore the pods for this routers will run only on the UAT nodes.

For example:

oc adm new-project uat-router --node-selector='router=uat'

Regards
Aleks

------ Originalnachricht ------
Von: "Łukasz Strzelec" <lukasz.strze...@gmail.com>
An: "Marcello Lorenzi" <cell...@gmail.com>
Cc: "users" <users@lists.openshift.redhat.com>
Gesendet: 24.10.2017 15:06:52
Betreff: Re: Openshift router per project

Hi :)
You can , you can deploy additional router and setup the domain that it will be operating. We did similar approach, we have got internal applications, and external ones (internet access and exposure into the internet). You can assigne route to particualr namespace (project) and operate diffrent domain :)

I had based on following information : https://docs.openshift.org/latest/install_config/router/default_haproxy_router.html#creating-router-shards,

I also use affinity/ antyaffinity  and  additional labels.

Best regards

2017-10-24 10:42 GMT+02:00 Marcello Lorenzi <cell...@gmail.com>:
HI,
we're discovering an installation of Openshift Origin 3.6 with some app nodes present on a VLAN (development) and some other app nodes on a public VLAN (UAT) and we would use the labels and node selector to deploy the pods for the 2 different projects on their specified nodes. The problem is related to the routes because we can't install different routers per projects on different VLANs. Is it possible to achieve this problem without the installation of a new cluster per environment?

Thanks
Marcello

_______________________________________________
users mailing list
users@lists.openshift.redhat.com <mailto:users@lists.openshift.redhat.com> http://lists.openshift.redhat.com/openshiftmm/listinfo/users <http://lists.openshift.redhat.com/openshiftmm/listinfo/users>




--
Ł.S.


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

Reply via email to