I verified this with the Kubernetes workflow and load balancer is working fine with the above property.
Thanks On Fri, Mar 6, 2015 at 7:36 PM, Imesh Gunaratne <im...@apache.org> wrote: > I have now introduced the below property to handle this in cartridge > definition: > > { > "type": "php", > "provider": "apache", > "category": "data", > "host": "php.stratos.org", > "displayName": "php", > "description": "php Cartridge", > "version": "7", > "multiTenant": "false", > "loadBalancingIPType" : "public", > "portMapping": [ > { > "protocol": "http", > "port": "80", > "proxyPort": "8281" > } > ], > "deployment":{ > "baseDir":"/var/www" > }, > "iaasProvider":[ > { > "type":"kubernetes", > "imageId":"stratos/php:4.1.0-beta", > "networkInterfaces":[ > ], > "property":[ > ] > } > ] > } > > > On Fri, Mar 6, 2015 at 1:49 PM, Lahiru Sandaruwan <lahi...@wso2.com> > wrote: > >> +1. We can include it in cartridge definition json. >> >> Thanks. >> >> On Fri, Mar 6, 2015 at 1:42 PM, Imesh Gunaratne <im...@apache.org> wrote: >> >>> Hi Devs, >>> >>> In Stratos 4.0.0 we introduced the following property in the load >>> balancer configuration: >>> >>> # Topology member ip address type >>> # Provide this configuration if topology-event-listener is set to true. If >>> this property is set to 'private' >>> # load balancer will delegate requests to member's private IP address. If >>> it is set to 'public' requests will >>> # be delegated to member's public IP address. >>> topology-member-ip-type: private; >>> >>> IMO this should be configurable at cartridge level. WDYT? >>> >>> Thanks >>> >>> -- >>> Imesh Gunaratne >>> >>> Technical Lead, WSO2 >>> Committer & PMC Member, Apache Stratos >>> >> >> >> >> -- >> -- >> Lahiru Sandaruwan >> Committer and PMC member, Apache Stratos, >> Senior Software Engineer, >> WSO2 Inc., http://wso2.com >> lean.enterprise.middleware >> >> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ >> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >> >> > > > -- > Imesh Gunaratne > > Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos > -- Imesh Gunaratne Technical Lead, WSO2 Committer & PMC Member, Apache Stratos