+1 To brief out the changes that is required.
Changes on Puppet-Modules - modify the hieradata (datasources to use mysql driver and correct url) - enabling -dSetup in wso2server.sh.erb Changes on Kubernetes-Artifacts - adding replication controller and service for product related mysql database - modifying the deploy and undeploy scripts for adding these product related mysql database controller and service I have now completed these changes in Puppet-modules and Kubernetes-Artifacts for WSO2AS and WSO2BPS products. Will continue working these changes on other products. Regards, Vishanth On Tue, Apr 26, 2016 at 1:20 PM, Isuru Haththotuwa <[email protected]> wrote: > Hi Devs, > > We can do $subject in the Kubernetes Artifacts. Its possible to define the > DB url with the relevant Kubernetes service name, hence there is no need to > know the exact IP of the database pod. > > Currently in mysql docker image [1], its only possible to create one DB > per container. Therefore to support the usual deployment clustered wso2 > products, we would need at least 3 pods: > > 1. gov_db - shared across all products as necessary > 2. user_db - shared across all products as necessary > 3. product_db - used for config db (shared with all members of the > same cluster) and any other product specific db tables > > This will allow the users to deploy the wso2 products using defined real > distributed deployment patterns in a kubernetes environment with minimal > effort, without doing any configuration changes. > > Note that the purpose of this effort is to make it easier to try out WSO2 > products in a K8s environment, and to try out K8s features like > autoscaling, etc. without the hassle of configuring databases, etc. WDYT? > > [1]. https://hub.docker.com/_/mysql/ > > -- > Thanks and Regards, > > Isuru H. > +94 716 358 048* <http://wso2.com/>* > > > -- *Vishanth Balasubramaniam* Committer & PMC Member, Apache Stratos, Software Engineer, WSO2 Inc.; http://wso2.com mobile: *+94 77 17 377 18* about me: *http://about.me/vishanth <http://about.me/vishanth>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
