New to KubeDB? Please start here.
Vertical Scaling Weaviate
This guide will give you an overview of how KubeDB Ops Manager updates the resources (for example Memory, CPU etc.) of a Weaviate cluster.
Before You Begin
- You should be familiar with the following
KubeDBconcepts:
How Vertical Scaling Process Works
The vertical scaling process consists of the following steps:
At first, a user creates a
WeaviateCR.KubeDBprovisioner operator watches for theWeaviateCR.When the operator finds a
WeaviateCR, it creates aPetSetand related necessary resources like secret, service, etc.Then, in order to update the resources (for example
CPU,Memoryetc.) of theWeaviatecluster, the user creates aWeaviateOpsRequestCR with the desired resources.KubeDBOps Manager watches for theWeaviateOpsRequestCR.When it finds one, it halts the
Weaviateobject so that theKubeDBprovisioner operator doesn’t perform any operation on theWeaviateduring the scaling process.Then the KubeDB Ops-manager operator updates the resources of the PetSet’s Pods to reach the desired state, restarting the pods one at a time.
After successfully updating the resources of the PetSet’s Pods, the
KubeDBOps Manager updates theWeaviateobject resources to reflect the updated state.After successfully updating the
Weaviateresources, theKubeDBOps Manager resumes theWeaviateobject so that theKubeDBProvisioner operator resumes its usual operations.
In the next doc, we are going to show a step-by-step guide on updating the resources of a Weaviate database using the vertical scaling operation.































