Hi Anuruddha, Yes, the only way to avoid exposing the generated Kubernetes service ports is to use a load balancer in front. +1 for the proposal. In the cartridge definition we can define required proxy ports for each port mapping to be exposed by the load balancer.
On Mon, Aug 24, 2015 at 6:15 PM, Anuruddha Premalal <[email protected]> wrote: > Hi All, > > I have attached a possible solution diagram for single tenant URL flow. > > For dev-setups we can make use nginx for load balancing and BIND9 for DNS > mapping. WDYT? > > > AppFactory single tenant URL flow > <https://docs.google.com/a/wso2.com/drawings/d/1kbXH9gudC4pdvM86TqPX5C0NmM0T5ghKvf7nvTCVOdM/edit?usp=drive_web> > > Regards, > Anuruddha. > > On Mon, Aug 24, 2015 at 4:39 PM, Anuruddha Premalal <[email protected]> > wrote: > >> Hi All, >> >> With the new Stratos and kubernetes Appfactory has the single tenant >> application support. With this feature users will be able to spin a new >> instance for single tenant supported apps and it's versions. >> >> This thread is to discuss how we should expose the deployed application >> URL to the user. >> >> There single tenant instances are spawned as containers in docker. Access >> to the container is differ by the port, IP is a fixed factor depending on >> the number of kubernetes nodes. One option is to expose the URL with port, >> however for production instances we have to provide a URL without port. >> >> Appreciate your input. >> >> Regards, >> -- >> *Anuruddha Premalal* >> Software Eng. | WSO2 Inc. >> Mobile : +94710461070 >> Web site : www.regilandvalley.com >> >> > > > -- > *Anuruddha Premalal* > Software Eng. | WSO2 Inc. > Mobile : +94710461070 > Web site : www.regilandvalley.com > > -- *Imesh Gunaratne* Senior Technical Lead WSO2 Inc: http://wso2.com T: +94 11 214 5345 M: +94 77 374 2057 W: http://imesh.gunaratne.org Lean . Enterprise . Middleware
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
