Hi devs, Suppose I configured an external LB such as Nginx, HAproxy etc. Now I need to use it in my Stratos application.
Previously in 4.0.0 there was a LB property in Cartridge definition[1 <https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Sample+Cartridge+Definition>], but seems like it's not there anymore in 4.1.0[2 <https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Cartridge+Resource+Definition>] or in [3 <https://github.com/apache/stratos/blob/master/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/domain/Cartridge.java> ]. "loadBalancer":{ "type":"lb", "property":{ "name":"default.load.balancer", "value":"true" } } Some product configurations needs LB ip/port and in UI too we should show the LB IP along with the proxy port as the Access URL. Is there a way to do this? In addition, if we are using kubernetes, one of the minion IPs can be(are) used as a load-balancer. In that case, how do we decide which IP to use? (say we have 3 minions and service can be accessed using any of the 3 minion IPs : kubernetes service port) [1] https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Sample+Cartridge+Definition [2] https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Cartridge+Resource+Definition [3] https://github.com/apache/stratos/blob/master/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/domain/Cartridge.java Thanks, -- *Lasindu Charith* Software Engineer, WSO2 Inc. Committer & PMC Member, Apache Stratos Mobile: +94714427192 | Web: blog.lasindu.com