New to KubeDB? Please start here.
Reconfiguring Milvus
This guide will give an overview on how the KubeDB Ops-manager operator reconfigures a Milvus database.
Before You Begin
- You should be familiar with the following
KubeDBconcepts:
How Reconfigure Process Works
Milvus is configured through a single configuration file that must be named milvus.yaml. KubeDB renders a base configuration and merges any custom configuration you supply on top of it.
A MilvusOpsRequest of type Reconfigure lets you change that custom configuration on a running database. The spec.configuration block supports:
configSecret— a reference to aSecretwhosemilvus.yamlkey holds the new configuration.applyConfig— an inline map; the value under themilvus.yamlkey is merged into the existing configuration. This is convenient for small, incremental changes.removeCustomConfig— whentrue, the previously applied custom configuration is discarded before the new configuration is applied.restart—auto(default),true, orfalse. Controls whether the pods are restarted after the configuration change.
The flow is:
- A user creates a
MilvusOpsRequestof typeReconfigure. - The operator validates the request and pauses the
Milvusdatabase. - The new configuration is merged and written to the rendered configuration secret (
<db>-<hash>), under themilvus.yamlkey. - The PetSets are reconciled and (depending on
restart) the pods are recreated to load the new configuration. - The operator resumes the database and marks the
MilvusOpsRequestasSuccessful.
Important: the configuration key is always
milvus.yaml— use that exact key in your config secret and inapplyConfig.
In the next doc, we will see a step-by-step guide on reconfiguring a Milvus database.































