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 Volume Expansion
This guide will give an overview on how KubeDB Ops-manager operator expand the volume of Hazelcast cluster members.
Before You Begin
- You should be familiar with the following
KubeDBconcepts:
How Volume Expansion Process Works
The following diagram shows how KubeDB Ops-manager operator expand the volumes of Hazelcast database components. Open the image in a new tab to see the enlarged version.
The Volume Expansion process consists of the following steps:
At first, a user creates a
HazelcastCustom Resource (CR).KubeDBProvisioner operator watches theHazelcastCR.When the operator finds a
HazelcastCR, it creates required number ofstatefulsetsand related necessary stuff like secrets, services, etc.Each statefulset creates a Persistent Volume according to the Volume Claim Template provided in the statefulset configuration. This Persistent Volume will be expanded by the
KubeDBOps-manager operator.Then, in order to expand the volume of the
Hazelcastdatabase the user creates aHazelcastOpsRequestCR with desired information.KubeDBOps-manager operator watches theHazelcastOpsRequestCR.When it finds a
HazelcastOpsRequestCR, it pauses theHazelcastobject which is referred from theHazelcastOpsRequest. So, theKubeDBProvisioner operator doesn’t perform any operations on theHazelcastobject during the volume expansion process.Then the
KubeDBOps-manager operator will expand the related PersistentVolumeClaims to reach the expected size defined in theHazelcastOpsRequestCR.After the successful expansion of the related PersistentVolumeClaims, the
KubeDBOps-manager operator updates the related statefulset so that the new volumes can be mounted.After successfully updating statefulsets, the
KubeDBOps-manager operator resumes theHazelcastobject so that theKubeDBProvisioner operator resumes its usual operations.
In the next docs, we are going to show a step by step guide on expanding volume of various Hazelcast cluster members using HazelcastOpsRequest CRD.































