Re: Stratos and Kuburnetes and docker support.

2014-10-04 Thread Imesh Gunaratne
Great! Thanks for the clarification! The term "replicas" was bit confusing, that's why. On Tue, Sep 23, 2014 at 1:26 PM, Nirmal Fernando wrote: > Hi Imesh, > > On Tue, Sep 23, 2014 at 12:00 PM, Imesh Gunaratne > wrote: > >> Regarding health monitoring in containers, as discussed the best approa

Re: Stratos and Kuburnetes and docker support.

2014-09-23 Thread Nirmal Fernando
Hi Imesh, On Tue, Sep 23, 2014 at 12:00 PM, Imesh Gunaratne wrote: > Regarding health monitoring in containers, as discussed the best approach > would be to use a well-known docker container monitoring tool such as > cAdvisor coupled with a cartridge agent instance per controller node. > Yes, u

Re: Stratos and Kuburnetes and docker support.

2014-09-22 Thread Imesh Gunaratne
Regarding health monitoring in containers, as discussed the best approach would be to use a well-known docker container monitoring tool such as cAdvisor coupled with a cartridge agent instance per controller node. Why do we use the term "replicas" for the Kubernetes control node instances? Are we

Re: Stratos and Kuburnetes and docker support.

2014-09-16 Thread Nirmal Fernando
AFAIS Autoscaler's task is very simple in the container case. It just need to create a kubernetes replication controller with the minimum number of replicas initially via CC and need to update the number of replicas of the same kubernetes replication controller (again via CC) based on the health st

Re: Stratos and Kuburnetes and docker support.

2014-09-16 Thread Lakmal Warusawithana
On Tue, Sep 16, 2014 at 3:54 PM, Akila Ravihansa Perera wrote: > Hi, > > I think we lost that control once we decided to use Kubernetes to > manage containers. The whole idea of using Kubernetes is to starting, > destroying and maintaining HA within container cluster. > > As for the agent health

Re: Stratos and Kuburnetes and docker support.

2014-09-16 Thread Akila Ravihansa Perera
Hi, I think we lost that control once we decided to use Kubernetes to manage containers. The whole idea of using Kubernetes is to starting, destroying and maintaining HA within container cluster. As for the agent health stats, there can be situations where application level monitoring is required

Re: Stratos and Kuburnetes and docker support.

2014-09-16 Thread Lakmal Warusawithana
On Tue, Sep 16, 2014 at 3:20 PM, Lahiru Sandaruwan wrote: > > > On Tue, Sep 16, 2014 at 2:57 PM, Lakmal Warusawithana > wrote: > >> >> >> On Tue, Sep 16, 2014 at 1:53 PM, Lahiru Sandaruwan >> wrote: >> >>> Hi Akila, >>> >>> >>> >>> On Tue, Sep 16, 2014 at 12:49 PM, Akila Ravihansa Perera < >>>

Re: Stratos and Kuburnetes and docker support.

2014-09-16 Thread Lahiru Sandaruwan
On Tue, Sep 16, 2014 at 2:57 PM, Lakmal Warusawithana wrote: > > > On Tue, Sep 16, 2014 at 1:53 PM, Lahiru Sandaruwan > wrote: > >> Hi Akila, >> >> >> >> On Tue, Sep 16, 2014 at 12:49 PM, Akila Ravihansa Perera < >> raviha...@wso2.com> wrote: >> >>> Hi Raj, >>> >>> We can use the same CEP stream

Re: Stratos and Kuburnetes and docker support.

2014-09-16 Thread Rajkumar Rajaratnam
Hi Akila, On Tue, Sep 16, 2014 at 2:39 PM, Akila Ravihansa Perera wrote: > Hi Raj, > > We need to change the stream definition since CEP component now reads > those parameters from the topology. So currently CEP is reading these parameters from the topology? Or it has to be done? I guess, CEP

Re: Stratos and Kuburnetes and docker support.

2014-09-16 Thread Lakmal Warusawithana
On Tue, Sep 16, 2014 at 2:58 PM, Lahiru Sandaruwan wrote: > > > On Tue, Sep 16, 2014 at 2:54 PM, Lakmal Warusawithana > wrote: > >> >> >> On Tue, Sep 16, 2014 at 12:49 PM, Akila Ravihansa Perera < >> raviha...@wso2.com> wrote: >> >>> Hi Raj, >>> >>> We can use the same CEP stream to publish cart

Re: Stratos and Kuburnetes and docker support.

2014-09-16 Thread Lahiru Sandaruwan
On Tue, Sep 16, 2014 at 2:54 PM, Lakmal Warusawithana wrote: > > > On Tue, Sep 16, 2014 at 12:49 PM, Akila Ravihansa Perera < > raviha...@wso2.com> wrote: > >> Hi Raj, >> >> We can use the same CEP stream to publish cartridge agent health stats. >> We can identify the instance type (container or

Re: Stratos and Kuburnetes and docker support.

2014-09-16 Thread Lakmal Warusawithana
On Tue, Sep 16, 2014 at 1:53 PM, Lahiru Sandaruwan wrote: > Hi Akila, > > > > On Tue, Sep 16, 2014 at 12:49 PM, Akila Ravihansa Perera < > raviha...@wso2.com> wrote: > >> Hi Raj, >> >> We can use the same CEP stream to publish cartridge agent health stats. >> We can identify the instance type (co

Re: Stratos and Kuburnetes and docker support.

2014-09-16 Thread Lakmal Warusawithana
On Tue, Sep 16, 2014 at 12:49 PM, Akila Ravihansa Perera wrote: > Hi Raj, > > We can use the same CEP stream to publish cartridge agent health stats. We > can identify the instance type (container or VM type) by retrieving member > properties from the topology. But I don't think we should be doin

Re: Stratos and Kuburnetes and docker support.

2014-09-16 Thread Lahiru Sandaruwan
On Tue, Sep 16, 2014 at 2:39 PM, Akila Ravihansa Perera wrote: > Hi Raj, > > We need to change the stream definition since CEP component now reads > those parameters from the topology. This is possible since we have > added messaging component dependency to the CEP. So no point of > sending netwo

Re: Stratos and Kuburnetes and docker support.

2014-09-16 Thread Akila Ravihansa Perera
Hi Raj, We need to change the stream definition since CEP component now reads those parameters from the topology. This is possible since we have added messaging component dependency to the CEP. So no point of sending network_partition_id, partition_id etc parameters in the message payload. Only me

Re: Stratos and Kuburnetes and docker support.

2014-09-16 Thread Rajkumar Rajaratnam
Hi Akila, On Tue, Sep 16, 2014 at 12:49 PM, Akila Ravihansa Perera wrote: > Hi Raj, > > We can use the same CEP stream to publish cartridge agent health stats. We > can identify the instance type (container or VM type) by retrieving member > properties from the topology. But I don't think we sho

Re: Stratos and Kuburnetes and docker support.

2014-09-16 Thread Rajkumar Rajaratnam
On Tue, Sep 16, 2014 at 11:30 AM, Reka Thirunavukkarasu wrote: > Hi > > On Mon, Sep 15, 2014 at 3:23 PM, Rajkumar Rajaratnam > wrote: > >> Hi, >> >> I am working on monitoring docker container clusters. It will perform >> min/max check per service cluster and scale up/down containers periodicall

Re: Stratos and Kuburnetes and docker support.

2014-09-16 Thread Lahiru Sandaruwan
Hi Akila, On Tue, Sep 16, 2014 at 12:49 PM, Akila Ravihansa Perera wrote: > Hi Raj, > > We can use the same CEP stream to publish cartridge agent health stats. We > can identify the instance type (container or VM type) by retrieving member > properties from the topology. But I don't think we s

Re: Stratos and Kuburnetes and docker support.

2014-09-16 Thread Akila Ravihansa Perera
Hi Raj, We can use the same CEP stream to publish cartridge agent health stats. We can identify the instance type (container or VM type) by retrieving member properties from the topology. But I don't think we should be doing that. IMO, we should not publish cartridge agent health stats from each

Re: Stratos and Kuburnetes and docker support.

2014-09-15 Thread Reka Thirunavukkarasu
Hi On Mon, Sep 15, 2014 at 3:23 PM, Rajkumar Rajaratnam wrote: > Hi, > > I am working on monitoring docker container clusters. It will perform > min/max check per service cluster and scale up/down containers periodically > based on the autoscale policy, instance health and requests in flight. >

Re: Stratos and Kuburnetes and docker support.

2014-09-15 Thread Manula Chathurika Thantriwatte
Hi, Please see my comments inline. On Mon, Sep 15, 2014 at 3:23 PM, Rajkumar Rajaratnam wrote: > Hi, > > I am working on monitoring docker container clusters. It will perform > min/max check per service cluster and scale up/down containers periodically > based on the autoscale policy, instance

Re: Stratos and Kuburnetes and docker support.

2014-09-15 Thread Rajkumar Rajaratnam
Hi, I am working on monitoring docker container clusters. It will perform min/max check per service cluster and scale up/down containers periodically based on the autoscale policy, instance health and requests in flight. I figured out the implementations/changes to be done in order to support doc

Re: Stratos and Kuburnetes and docker support.

2014-08-30 Thread Lakmal Warusawithana
In the docker scenario, we can have either docker image name or docker file in the cartridge definition, if docker file provided, we should build and push to docker registry and if docker image name provided, can assume, docker image manually build and already in the docker registry. Main reason, s

Re: Stratos and Kuburnetes and docker support.

2014-08-28 Thread Lakmal Warusawithana
On Thu, Aug 28, 2014 at 12:50 PM, chris snow wrote: > On Thu, Aug 28, 2014 at 3:44 AM, Lakmal Warusawithana > wrote: > > Hi devs, > > > > I did some research on $subject and IMO kurburnetes integration going to > be > > worthwhile thing. Below is the possible way of integration and some > > bene

Re: Stratos and Kuburnetes and docker support.

2014-08-28 Thread Lakmal Warusawithana
On Thu, Aug 28, 2014 at 12:08 PM, Nirmal Fernando wrote: > > > > On Thu, Aug 28, 2014 at 8:14 AM, Lakmal Warusawithana > wrote: > >> Hi devs, >> >> I did some research on $subject and IMO kurburnetes integration going to >> be worthwhile thing. Below is the possible way of integration and some >

Re: Stratos and Kuburnetes and docker support.

2014-08-28 Thread chris snow
On Thu, Aug 28, 2014 at 3:44 AM, Lakmal Warusawithana wrote: > Hi devs, > > I did some research on $subject and IMO kurburnetes integration going to be > worthwhile thing. Below is the possible way of integration and some > benefits. > > Kuburnetes provide docker provisioning (orchestration), sche

Re: Stratos and Kuburnetes and docker support.

2014-08-27 Thread Nirmal Fernando
On Thu, Aug 28, 2014 at 8:14 AM, Lakmal Warusawithana wrote: > Hi devs, > > I did some research on $subject and IMO kurburnetes integration going to > be worthwhile thing. Below is the possible way of integration and some > benefits. > > Kuburnetes provide docker provisioning (orchestration), sch

Stratos and Kuburnetes and docker support.

2014-08-27 Thread Lakmal Warusawithana
Hi devs, I did some research on $subject and IMO kurburnetes integration going to be worthwhile thing. Below is the possible way of integration and some benefits. Kuburnetes provide docker provisioning (orchestration), scheduling across docker host cluster, Self-healing mechanisms, such as auto-r