Hi Imesh,

On Fri, Oct 23, 2015 at 10:56 PM, Imesh Gunaratne <[email protected]> wrote:

> Hi All,
>
> I'm now implementing a membership scheme for Kubernetes for enabling
> Hazelcast cluster discovery for Carbon products on Kubernetes (K8S).
>
> We recently did a modification in Carbon Core for allowing users to plug
> in membership schemes without having to modify the Kernel. This is now
> available for Carbon 4.2.0 based products with Kernel patch0012 and Carbon
> 4.4.2 based products OOB.
>
> *How it works*
>
>
> In K8S we use K8S services for load balancing container clusters. K8S
> services use nginx internally. These services can be used for identifying
> the list of members in a given cluster.
>

If we use the Kubernetes service to identify the members of the cluster,
set of pods need to be created with label selector.So if we need to use
this we need to create each pods with the label selector. Isn't?

>
> Similar to the AWS and Private PaaS membership schemes, the new K8D
> membership scheme is being implemented to add all existing members of the
> cluster to Hazelcast network config before the Hazelcast instance is
> initialized. This would happen automatically whenever a carbon server is
> started.
>

For the Private PaaS membership schema we have a Priavte PaaS messaging
model dependency.With this K8D membership scheme, it seems we may not need
such a dependency.


>
> This design would make sure all the members in the cluster are connected
> to all the other members. As a result we will be able to scale the cluster
> up and down on K8S without affecting clustering configuration.
>
> Thanks
>
> --
> *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
>
>


-- 

Gayan Gunarathne
Technical Lead, WSO2 Inc. (http://wso2.com)
Committer & PMC Member, Apache Stratos
email : [email protected]  | mobile : +94 775030545 <%2B94%20766819985>
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to