Hi Aanand,

What are the issues you are getting? Basically to run Stratos on docker you
need to consider following aspects.

1. JDK
2. Apache Activemq
3. CEP (Internally or Externally)

As a basic installation I would suggest to do following.

1. Run activemq separately on a docker container or any other reachable
host.
2. Create a docker image including JDK and Stratos.

Please do the changes mentioned in [1]. You can use a pre build docker
image of stratos which has hard coded values for activemq endpoints. If you
want you can go with a dynamically setting up approach using [2] or using
environment variables approach.

Guide [1] also points out how you can run CEP externally. If you are
running CEP internally you don't need to do any changes in stratos side.

Once you have the Stratos up and running follow [3] to add a Kubernetes
cluster to Stratos.

You can use WSO2 cartridges mentioned in [4]. Actually in these cartridges,
configurations happen dynamically. In other words it happens at the start
of the docker container. Currently we are moving into pre-build docker
images in [5]. This will be released soon.

[1] -
https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Deploying+Stratos+on+a+Preferred+IaaS
[2] -
https://github.com/wso2/private-paas-cartridges/tree/master/common/configurator/modules/distribution
[3] -
https://cwiki.apache.org/confluence/display/STRATOS/4.1.x+Adding+a+Kubernetes-CoreOS+Cluster+via+the+UI
[4] - https://github.com/wso2/private-paas-cartridges
[5] - https://github.com/wso2/kubernetes-artifacts

Thank you!

On Fri, Mar 4, 2016 at 4:23 PM, Aanand <anand...@gmail.com> wrote:

> I am in the process of setup stratos with kubernetes. For I have setup
> kubernetes as per in this link
> http://containertutorials.com/get_started_kubernetes/index.html
> stratos on other ubuntu machine as per this link
> https://cwiki.apache.org/confluence/display/STRATOS/Running+Stratos+inside+docker
> Now I am having problem linking kubernetes cluster with stratos. Is there
> is any easy way to do this, my requirement is need to have stratos in
> docker container and also all the cartridges of wso2 also in the docker.
> Regards,
> Aanand
> Phone: 8098816226
> Skype: anand7007
>

Reply via email to