You are looking at the documentation of a prior release. To read the documentation of the latest release, please
visit here.
New to KubeDB? Please start here.
Hazelcast Horizontal Scaling
This guide will give an overview on how KubeDB Ops Manager scales up or down of Hazelcast database cluster members.
Before You Begin
- You should be familiar with the following
KubeDBconcepts:
How Horizontal Scaling Process Works
The following diagram shows how KubeDB Ops Manager scales up or down Hazelcast database components. Open the image in a new tab to see the enlarged version.
The scaling process consists of the following steps:
At first, a user creates a
HazelcastCustom Resource (CR).KubeDBCommunity operator watches theHazelcastCR.When the operator finds a
HazelcastCR, it creates required number ofStatefulSetsand related necessary stuff like appbinding, services, etc.Then, in order to scale the cluster, the user creates a
HazelcastOpsRequestCR with desired information.KubeDBEnterprise operator watches theHazelcastOpsRequestCR.When it finds a
HazelcastOpsRequestCR, it halts theHazelcastobject which is referred from theHazelcastOpsRequest. So, theKubeDBCommunity operator doesn’t perform any operations on theHazelcastobject during the scaling process.Then the
KubeDBEnterprise operator will scale the related PetSets to reach the expected number of members defined in theHazelcastOpsRequestCR.After the successfully scaling the StatefulSets replicas, the
KubeDBEnterprise operator updates the number of members in theHazelcastobject to reflect the updated state of the database.After the successful scaling of
Hazelcastmembers, theKubeDBEnterprise operator resumes theHazelcastobject so that theKubeDBCommunity operator resumes its usual operations.
In the next docs, we are going to show a step by step guide on horizontal scaling of Hazelcast database using HazelcastOpsRequest CRD.






























