Cross Cluster Data Sharing in Kubernates by Using the Hazelcast Community Edition

107 views
Skip to first unread message

Mounika Bhaskar

unread,
Aug 19, 2022, 10:39:44 AM8/19/22
to Hazelcast
Guys, May I know how to share the data cross the Kubernates clusters by using Hazelcast? Right now we using the Hazelcast community edition 5.1 and the Hazelcast Cache Services are getting deployed on two different clusters, I want to get the hazelcast maps data to one Kubernates cluster from other cluster when new code changes are getting deployed on.

And we want to retain the same maps data for new pods in the same cluster and when the pods are getting down and have to get the New data which was added on other cluster when the new code changes are getting deployed.

Currently we are using the DNS Look up approach to distribute the data across the same cluster and for other clusters we wrote the API's to send the data to different cluster when the pods are up and running in both the clusters so that hazelcast members were updated with the latest data in both the kubernates clusters.

Neil Stevenson

unread,
Aug 19, 2022, 10:57:16 AM8/19/22
to Hazelcast
 Are these Kubernetes clusters in different datacenters ?


 The commercial edition of Hazelcast has a data sharing facility, but you would still have a Hazelcast cluster in each Kubernetes cluster.

Mounika Bhaskar

unread,
Aug 19, 2022, 11:01:31 AM8/19/22
to Hazelcast
These kubernates clusters were in the different datacenters.

Mounika Bhaskar

unread,
Aug 19, 2022, 11:27:51 AM8/19/22
to Hazelcast
Yeah. I had two hazelcast clusters getting formed for each kubernates cluster which are in two different data centers. But want to retain the existing maps data in same clusters when new code changes are getting deployed for cache service in same/other cluster and have to get the maps data from other cluster to sink up with current hazelcast cluster when new pods gets created. Can you share any otherways/links/Code snippets to achieve above scenarios?

Neil Stevenson

unread,
Aug 23, 2022, 2:08:16 AM8/23/22
to Hazelcast
> Can you share any otherways/links/Code snippets to achieve above scenarios?

 Just to confirm, it's a commercial feature. It's not available in the community edition.

 If you want to explore it, contact sa...@hazelcast.com and they'll help you understand the options and pricing


Neil

Reply all
Reply to author
Forward
0 new messages