[v2] Route all traffic through a single load balancer
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
Specifically, something like the "ingress" access type from v1
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.