New to KubeDB? Please start here.
Update Version of Milvus
This guide will give an overview on how the KubeDB Ops-manager operator updates the version of a Milvus database.
Before You Begin
- You should be familiar with the following
KubeDBconcepts:
How Update Version Process Works
The set of Milvus versions KubeDB can run is described by MilvusVersion catalog objects. Updating moves a running database from its current MilvusVersion to a newer, non-deprecated one.
A MilvusOpsRequest of type UpdateVersion names the target version:
spec:
type: UpdateVersion
updateVersion:
targetVersion: 2.6.11
The flow is:
- A user creates a
MilvusOpsRequestof typeUpdateVersion. - The operator validates that
targetVersionis an existing, non-deprecatedMilvusVersion, then pauses theMilvusdatabase. - The operator updates the container images in the PetSets to the target version.
- Pods are restarted (standalone: the single pod; distributed: each role) so they come up on the new image.
- The operator resumes the database and marks the
MilvusOpsRequestasSuccessful.
The Recommendation Engine also generates an UpdateVersion recommendation automatically when a newer catalog version becomes available for a running database.
In the next doc, we will see a step-by-step guide on updating the version of a Milvus database.































