You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
</button></h2><p><a href="https://raw.githubusercontent.com/milvus-io/milvus/v2.5.19/configs/milvus.yaml">Download</a> <code translate="no">milvus.yaml</code> directly or with the following command.</p>
</button></h2><p><a href="https://raw.githubusercontent.com/milvus-io/milvus/v2.5.21/configs/milvus.yaml">Download</a> <code translate="no">milvus.yaml</code> directly or with the following command.</p>
<h2id="Modify-the-configuration-file"class="common-anchor-header">Modify the configuration file<buttondata-href="#Modify-the-configuration-file"class="anchor-icon"translate="no">
46
46
<svg translate="no"
@@ -213,10 +213,10 @@ In current release, all parameters take effect only after Milvus restarts.
</button></h2><p>Download the installation file for Milvus <a href="https://github.com/milvus-io/milvus/releases/download/v2.5.19/milvus-standalone-docker-compose.yml">standalone</a>, and save it as <code translate="no">docker-compose.yml</code>.</p>
216
+
</button></h2><p>Download the installation file for Milvus <a href="https://github.com/milvus-io/milvus/releases/download/v2.5.21/milvus-standalone-docker-compose.yml">standalone</a>, and save it as <code translate="no">docker-compose.yml</code>.</p>
217
217
<p>You can also simply run the following command.</p>
<h2id="Modify-the-installation-file"class="common-anchor-header">Modify the installation file<buttondata-href="#Modify-the-installation-file"class="anchor-icon"translate="no">
{"codeList":["...\nrootcoord:\n container_name: milvus-rootcoord\n image: milvusdb/milvus:v2.5.19\n...\nproxy:\n container_name: milvus-proxy\n image: milvusdb/milvus:v2.5.19\n...\nquerycoord:\n container_name: milvus-querycoord\n image: milvusdb/milvus:v2.5.19 \n...\nquerynode:\n container_name: milvus-querynode\n image: milvusdb/milvus:v2.5.19\n...\nindexcoord:\n container_name: milvus-indexcoord\n image: milvusdb/milvus:v2.5.19\n...\nindexnode:\n container_name: milvus-indexnode\n image: milvusdb/milvus:v2.5.19 \n...\ndatacoord:\n container_name: milvus-datacoord\n image: milvusdb/milvus:v2.5.19 \n...\ndatanode:\n container_name: milvus-datanode\n image: milvusdb/milvus:v2.5.19\n","docker compose down\ndocker compose up -d\n","docker stop <milvus-component-docker-container-name>\n","# migration.yaml\ncmd:\n # Option: run/backup/rollback\n type: run\n runWithBackup: true\nconfig:\n sourceVersion: 2.1.4 # Specify your milvus version\n targetVersion: 2.5.19\n backupFilePath: /tmp/migration.bak\nmetastore:\n type: etcd\netcd:\n endpoints:\n - milvus-etcd:2379 # Use the etcd container name\n rootPath: by-dev # The root path where data is stored in etcd\n metaSubPath: meta\n kvSubPath: kv\n","# Suppose your docker-compose run with the default milvus network,\n# and you put migration.yaml in the same directory with docker-compose.yaml.\ndocker run --rm -it --network milvus -v $(pwd)/migration.yaml:/milvus/configs/migration.yaml milvus/meta-migration:v2.2.0 /milvus/bin/meta-migration -config=/milvus/configs/migration.yaml\n","Update the milvus image tag in the docker-compose.yaml\ndocker compose down\ndocker compose up -d\n"],"headingContent":"Upgrade Milvus Cluster with Docker Compose","anchorList":[{"label":"Upgrade Milvus Cluster with Docker Compose","href":"Upgrade-Milvus-Cluster-with-Docker-Compose","type":1,"isActive":false},{"label":"Upgrade Milvus by changing its image","href":"Upgrade-Milvus-by-changing-its-image","type":2,"isActive":false},{"label":"Migrate the metadata","href":"Migrate-the-metadata","type":2,"isActive":false},{"label":"What's next","href":"Whats-next","type":2,"isActive":false}]}
1
+
{"codeList":["...\nrootcoord:\n container_name: milvus-rootcoord\n image: milvusdb/milvus:v2.5.21\n...\nproxy:\n container_name: milvus-proxy\n image: milvusdb/milvus:v2.5.21\n...\nquerycoord:\n container_name: milvus-querycoord\n image: milvusdb/milvus:v2.5.21 \n...\nquerynode:\n container_name: milvus-querynode\n image: milvusdb/milvus:v2.5.21\n...\nindexcoord:\n container_name: milvus-indexcoord\n image: milvusdb/milvus:v2.5.21\n...\nindexnode:\n container_name: milvus-indexnode\n image: milvusdb/milvus:v2.5.21 \n...\ndatacoord:\n container_name: milvus-datacoord\n image: milvusdb/milvus:v2.5.21 \n...\ndatanode:\n container_name: milvus-datanode\n image: milvusdb/milvus:v2.5.21\n","docker compose down\ndocker compose up -d\n","docker stop <milvus-component-docker-container-name>\n","# migration.yaml\ncmd:\n # Option: run/backup/rollback\n type: run\n runWithBackup: true\nconfig:\n sourceVersion: 2.1.4 # Specify your milvus version\n targetVersion: 2.5.21\n backupFilePath: /tmp/migration.bak\nmetastore:\n type: etcd\netcd:\n endpoints:\n - milvus-etcd:2379 # Use the etcd container name\n rootPath: by-dev # The root path where data is stored in etcd\n metaSubPath: meta\n kvSubPath: kv\n","# Suppose your docker-compose run with the default milvus network,\n# and you put migration.yaml in the same directory with docker-compose.yaml.\ndocker run --rm -it --network milvus -v $(pwd)/migration.yaml:/milvus/configs/migration.yaml milvus/meta-migration:v2.2.0 /milvus/bin/meta-migration -config=/milvus/configs/migration.yaml\n","Update the milvus image tag in the docker-compose.yaml\ndocker compose down\ndocker compose up -d\n"],"headingContent":"Upgrade Milvus Cluster with Docker Compose","anchorList":[{"label":"Upgrade Milvus Cluster with Docker Compose","href":"Upgrade-Milvus-Cluster-with-Docker-Compose","type":1,"isActive":false},{"label":"Upgrade Milvus by changing its image","href":"Upgrade-Milvus-by-changing-its-image","type":2,"isActive":false},{"label":"Migrate the metadata","href":"Migrate-the-metadata","type":2,"isActive":false},{"label":"What's next","href":"Whats-next","type":2,"isActive":false}]}
</button></h1><p>This topic describes how to upgrade your Milvus using Docker Compose.</p>
23
-
<p>In normal cases, you can <ahref="#Upgrade-Milvus-by-changing-its-image">upgrade Milvus by changing its image</a>. However, you need to <ahref="#Migrate-the-metadata">migrate the metadata</a> before any upgrade from v2.1.x to v2.5.19.</p>
23
+
<p>In normal cases, you can <ahref="#Upgrade-Milvus-by-changing-its-image">upgrade Milvus by changing its image</a>. However, you need to <ahref="#Migrate-the-metadata">migrate the metadata</a> before any upgrade from v2.1.x to v2.5.21.</p>
24
24
<h2id="Upgrade-Milvus-by-changing-its-image"class="common-anchor-header">Upgrade Milvus by changing its image<buttondata-href="#Upgrade-Milvus-by-changing-its-image"class="anchor-icon"translate="no">
0 commit comments