Joel,

Thanks for those answers. Yes I am running on OpenStack, but I think this is really completely general. I still have these questions:

Is there just one load balancer handling the master and the infra functions (registry and router)?
The ansible playbooks will set this up if using an internal load balancer?
If using multiple registries do they all share the same storage (in which case can't use Cinder, EBS etc).

Thanks
Tim


On 09/06/18 00:52, Joel Pearson wrote:
Hi Tim,

Answers inline.

On 8 June 2018 at 23:00, Tim Dudgeon <[email protected] <mailto:[email protected]>> wrote:

    The docs for installing a high availability openshift cluster e.g.
    [1] are fairly clear when it comes to the master node. If you set
    up a 3 masters then you need a load balancer that sits in front of
    these. OpenShift can provide this or you can provide your own
    external one.

    What not so clear is how to handle the nodes where the
    infrastructure components (registry and router) get deployed. In a
    typical example you would have 2 of these nodes, but what would
    happen in this case?

I presume you are still openstack? Here is the OpenStack reference architecture for Openshift: https://access.redhat.com/documentation/en-us/reference_architectures/2018/html/deploying_and_managing_openshift_3.9_on_red_hat_openstack_platform_10/reference_architecture_summary

Normally you have 3 infra nodes with 3 router replicas with 1 load balancer in front.

    Does a single registry and router get deployed to one of those
    nodes (in which case it would be difficult to set up DNS for the
    router to point to the right one).

You simply point the DNS at the load balancer in front of the infra nodes.  In the AWS reference architecture I run 3 registries, but they're backed by S3, so it depends on the backing store for the registry I guess. But it doesn't matter if you run 1 registry or 3, as long as the traffic comes in via the load balancer, the OpenShift Routers will figure out where the registries are running.

    Or does the router get deployed to both so a load balancer is
    needed in front of these?

Yes, routers should be deployed on all infra nodes with a load balancer in front.


    And similarly for the registry. Is there one or two of these
    deployed? How does this work?

As mentioned above, it doesn't matter how many registries, but for ha you could have as many as the number of infra nodes, provided the backend for your registry allows multiple replicas.


    I hope someone can clarify this.
    Tim

    [1]
    
https://docs.openshift.org/latest/install_config/install/advanced_install.html#multiple-masters
    
<https://docs.openshift.org/latest/install_config/install/advanced_install.html#multiple-masters>

    _______________________________________________
    users mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.openshift.redhat.com/openshiftmm/listinfo/users
    <http://lists.openshift.redhat.com/openshiftmm/listinfo/users>




--
Kind Regards,

Joel Pearson
Agile Digital | Senior Software Consultant

[=Love Your Software™ | ABN 98 106 361 273
p: 1300 858 277 <tel:1300%20858%20277> |  w: agiledigital.com.au <http://agiledigital.com.au/>

_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to