New to KubeDB? Please start here.
Reconfigure Weaviate
This guide will give you an overview of how KubeDB Ops Manager reconfigures a Weaviate cluster.
Before You Begin
- You should be familiar with the following
KubeDBconcepts:
How Reconfigure Process Works
The reconfigure process consists of the following steps:
At first, a user creates a
WeaviateCR (optionally with a custom configuration).KubeDBprovisioner operator watches for theWeaviateCR and creates aPetSetand related necessary resources.Then, in order to change the configuration of the
Weaviatecluster, the user creates aWeaviateOpsRequestCR with the desired configuration. The new configuration can be provided in one or more of the following ways:spec.configuration.configSecret— a reference to aSecretholding the fullconf.yaml.spec.configuration.applyConfig— inlineconf.yamlcontent that is merged on top of the existing configuration.spec.configuration.backupConfigSecret— a reference to aSecretholding backup-related credentials.
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 reconfigure process.Then the
KubeDBOps Manager prepares the new configuration, updates the PetSet, and restarts the pods one by one so they pick up the new configuration.After successfully reconfiguring, the
KubeDBOps Manager updates theWeaviateobject to reflect the new configuration and 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 reconfiguring a Weaviate cluster.































