skupper icon indicating copy to clipboard operation
skupper copied to clipboard

[v2] Route all traffic through a single load balancer

Open slavapashaliuk opened this issue 10 months ago • 2 comments

Is your feature request related to a problem? Please describe. Current Skupper behavior is that it creates a grant-server loadbalancer plus an extra skupper-router loadbalancer per each site that is up in cluster mode.
I was wondering if routing all the traffic through a single loadbalancer is an option in V2?

Describe the solution you'd like Have a single or single skupper-router loadbalancer for all the incoming traffic.

CC: @andremarianiello

slavapashaliuk avatar Feb 21 '25 00:02 slavapashaliuk

Specifically, something like the "ingress" access type from v1

andremarianiello avatar Feb 21 '25 01:02 andremarianiello

Yes. In v2 that is called the 'access type'. A site spec has a linkAccess field which can either be default or one of the enabled access types. By default route is enabled on OpenShift and loadbalancer on other platforms. You have to enable other options if valid through the controller configuration using the -enabled-access-types argument. You can also set the default access type through -default-access-type.

So e.g. if you change the args of the controller to:

        args: ["-enable-grants", "-grant-server-autoconfigure", "-enabled-access-types=ingress-nginx,loadbalancer,route", "-default-access-type=ingress-nginx"]

Then any site that sets linkAccess=default or linkAccess=ingress-nginx will use nginx annotated ingresses.

grs avatar Feb 23 '25 16:02 grs