Skip to content

Commit

Permalink
Release new docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Milvus-doc-bot authored and Milvus-doc-bot committed Nov 27, 2023
1 parent 301db53 commit 085c476
Show file tree
Hide file tree
Showing 13 changed files with 104 additions and 74 deletions.
6 changes: 3 additions & 3 deletions v2.2.x/Variables.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"milvus_release_version": "2.2.15",
"milvus_release_tag": "2.2.15",
"milvus_release_version": "2.2.16",
"milvus_release_tag": "2.2.16",
"milvus_deb_name": "milvus_2.2.0-1_amd64",
"milvus_rpm_name": "milvus-2.2.0-1.el7.x86_64",
"milvus_python_sdk_version": "2.2.x",
Expand All @@ -12,7 +12,7 @@
"milvus_restful_sdk_version": "2.2.x",
"milvus_operator_version": "0.7.17",
"milvus_helm_chart_version": "4.0.34",
"milvus_image": "2.2.15",
"milvus_image": "2.2.16",
"attu_release": "2.2.8",
"milvus_backup_release": "0.3.2"
}
8 changes: 4 additions & 4 deletions v2.2.x/site/en/adminGuide/configure-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ In current release, all parameters take effect only after Milvus restarts.

## Download a configuration file

[Download](https://raw.githubusercontent.com/milvus-io/milvus/v2.2.15/configs/milvus.yaml) `milvus.yaml` directly or with the following command.
[Download](https://raw.githubusercontent.com/milvus-io/milvus/v2.2.16/configs/milvus.yaml) `milvus.yaml` directly or with the following command.

```
$ wget https://raw.githubusercontent.com/milvus-io/milvus/v2.2.15/configs/milvus.yaml
$ wget https://raw.githubusercontent.com/milvus-io/milvus/v2.2.16/configs/milvus.yaml
```

## Modify the configuration file
Expand Down Expand Up @@ -171,13 +171,13 @@ Sorted by:

## Download an installation file

Download the installation file for Milvus [standalone](https://github.com/milvus-io/milvus/releases/download/v2.2.15/milvus-standalone-docker-compose.yml), and save it as `docker-compose.yml`.
Download the installation file for Milvus [standalone](https://github.com/milvus-io/milvus/releases/download/v2.2.16/milvus-standalone-docker-compose.yml), and save it as `docker-compose.yml`.

You can also simply run the following command.

```
# For Milvus standalone
$ wget https://github.com/milvus-io/milvus/releases/download/v2.2.15/milvus-standalone-docker-compose.yml -O docker-compose.yml
$ wget https://github.com/milvus-io/milvus/releases/download/v2.2.16/milvus-standalone-docker-compose.yml -O docker-compose.yml
```

## Modify the installation file
Expand Down
2 changes: 1 addition & 1 deletion v2.2.x/site/en/adminGuide/operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Milvus cluster depends on components including object storage, etcd, and Pulsar.

This topic assumes that you have deployed Milvus Operator.

<div class="alert note">See <a href="https://milvus.io/docs/v2.2.15/install_cluster-milvusoperator.md">Deploy Milvus Operator</a> for more information. </div>
<div class="alert note">See <a href="https://milvus.io/docs/v2.2.16/install_cluster-milvusoperator.md">Deploy Milvus Operator</a> for more information. </div>

You need to specify a configuration file for using Milvus Operator to start a Milvus cluster.

Expand Down
20 changes: 10 additions & 10 deletions v2.2.x/site/en/adminGuide/upgrade_milvus_cluster-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ summary: Learn how to upgrade Milvus cluster with Docker Compose.

This topic describes how to upgrade your Milvus using Docker Compose.

In normal cases, you can [upgrade Milvus by changing its image](#Upgrade-Milvus-by-changing-its-image). However, you need to [migrate the metadata](#Migrate-the-metadata) before any upgrade from v2.1.x to v2.2.15.
In normal cases, you can [upgrade Milvus by changing its image](#Upgrade-Milvus-by-changing-its-image). However, you need to [migrate the metadata](#Migrate-the-metadata) before any upgrade from v2.1.x to v2.2.16.

## Upgrade Milvus by changing its image

Expand All @@ -23,35 +23,35 @@ In normal cases, you can upgrade Milvus as follows:
...
rootcoord:
container_name: milvus-rootcoord
image: milvusdb/milvus:v2.2.15
image: milvusdb/milvus:v2.2.16
...
proxy:
container_name: milvus-proxy
image: milvusdb/milvus:v2.2.15
image: milvusdb/milvus:v2.2.16
...
querycoord:
container_name: milvus-querycoord
image: milvusdb/milvus:v2.2.15
image: milvusdb/milvus:v2.2.16
...
querynode:
container_name: milvus-querynode
image: milvusdb/milvus:v2.2.15
image: milvusdb/milvus:v2.2.16
...
indexcoord:
container_name: milvus-indexcoord
image: milvusdb/milvus:v2.2.15
image: milvusdb/milvus:v2.2.16
...
indexnode:
container_name: milvus-indexnode
image: milvusdb/milvus:v2.2.15
image: milvusdb/milvus:v2.2.16
...
datacoord:
container_name: milvus-datacoord
image: milvusdb/milvus:v2.2.15
image: milvusdb/milvus:v2.2.16
...
datanode:
container_name: milvus-datanode
image: milvusdb/milvus:v2.2.15
image: milvusdb/milvus:v2.2.16
```
2. Run the following commands to perform the upgrade.
Expand Down Expand Up @@ -79,7 +79,7 @@ In normal cases, you can upgrade Milvus as follows:
runWithBackup: true
config:
sourceVersion: 2.1.4 # Specify your milvus version
targetVersion: 2.2.15
targetVersion: 2.2.16
backupFilePath: /tmp/migration.bak
metastore:
type: etcd
Expand Down
28 changes: 14 additions & 14 deletions v2.2.x/site/en/adminGuide/upgrade_milvus_cluster-helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ zilliztech/milvus 4.0.23 2.2.9 Milvus is an ope

You can choose the upgrade path for your Milvus as follows:

- [Conduct a rolling upgrade](#Conduct-a-rolling-upgrade) from Milvus v2.2.3 and later releases to v2.2.15.
- [Upgrade Milvus using Helm](#Upgrade-Milvus-using-Helm) for an upgrade from a minor release before v2.2.3 to v2.2.15.
- [Migrate the metadata](#Migrate-the-metadata) before the upgrade from Milvus v2.1.x to v2.2.15.
- [Conduct a rolling upgrade](#Conduct-a-rolling-upgrade) from Milvus v2.2.3 and later releases to v2.2.16.
- [Upgrade Milvus using Helm](#Upgrade-Milvus-using-Helm) for an upgrade from a minor release before v2.2.3 to v2.2.16.
- [Migrate the metadata](#Migrate-the-metadata) before the upgrade from Milvus v2.1.x to v2.2.16.

<div style="display: none;">

Expand All @@ -79,10 +79,10 @@ The script applies only to the upgrade of Milvus installed with Helm. The follow
| `w` | New Milvus image tag | `milvusdb/milvus:v2.2.3` | True |
| `o` | Operation | `update` | False |

Once you have ensured that all deployments in your Milvus instance are in their normal status. You can run the following command to upgrade the Milvus instance to 2.2.15.
Once you have ensured that all deployments in your Milvus instance are in their normal status. You can run the following command to upgrade the Milvus instance to 2.2.16.

```shell
sh rollingUpdate.sh -n default -i my-release -o update -t 2.2.15 -w 'milvusdb/milvus:v2.2.15'
sh rollingUpdate.sh -n default -i my-release -o update -t 2.2.16 -w 'milvusdb/milvus:v2.2.16'
```

<div class="alert note">
Expand Down Expand Up @@ -192,43 +192,43 @@ The following table lists the operations you can do for meta migration.
4. Migrate the Milvus metadata.
5. Start Milvus components with a new image.

#### 2. Upgrade Milvus from v2.1.x to 2.2.15
#### 2. Upgrade Milvus from v2.1.x to 2.2.16

The following commands assume that you upgrade Milvus from v2.1.4 to 2.2.15. Change them to the versions that fit your needs.
The following commands assume that you upgrade Milvus from v2.1.4 to 2.2.16. Change them to the versions that fit your needs.

1. Specify Milvus instance name, source Milvus version, and target Milvus version.

```
./migrate.sh -i my-release -s 2.1.4 -t 2.2.15
./migrate.sh -i my-release -s 2.1.4 -t 2.2.16
```
2. Specify the namespace with `-n` if your Milvus is not installed in the default K8s namespace.
```
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.15
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.16
```
3. Specify the root path with `-r` if your Milvus is installed with the custom `rootpath`.
```
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.15 -r by-dev
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.16 -r by-dev
```
4. Specify the image tag with `-w` if your Milvus is installed with a custom `image`.
```
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.15 -r by-dev -w milvusdb/milvus:v2.2.15
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.16 -r by-dev -w milvusdb/milvus:v2.2.16
```
5. Set `-d true` if you want to automatically remove the migration pod after the migration is completed.
```
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.15 -w milvusdb/milvus:v2.2.15 -d true
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.16 -w milvusdb/milvus:v2.2.16 -d true
```
6. Rollback and migrate again if the migration fails.
```
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.15 -r by-dev -o rollback -w milvusdb/milvus:v2.1.1
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.15 -r by-dev -o migrate -w milvusdb/milvus:v2.2.15
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.16 -r by-dev -o rollback -w milvusdb/milvus:v2.1.1
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.16 -r by-dev -o migrate -w milvusdb/milvus:v2.2.16
```
20 changes: 10 additions & 10 deletions v2.2.x/site/en/adminGuide/upgrade_milvus_cluster-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ helm -n milvus-operator upgrade milvus-operator milvus-operator/milvus-operator

Once you have upgraded your Milvus operator to the latest version, you have the following choices:

- To upgrade Milvus from v2.2.3 or later releases to 2.2.15, you can [conduct a rolling upgrade](#Conduct-a-rolling-upgrade).
- To upgrade Milvus from a minor release before v2.2.3 to 2.2.15, you are advised to [upgrade Milvus by changing its image version](#Upgrade-Milvus-by-changing-its-image).
- To upgrade Milvus from v2.1.x to 2.2.15, you need to [migrate the metadata](#Migrate-the-metadata) before the actual upgrade.
- To upgrade Milvus from v2.2.3 or later releases to 2.2.16, you can [conduct a rolling upgrade](#Conduct-a-rolling-upgrade).
- To upgrade Milvus from a minor release before v2.2.3 to 2.2.16, you are advised to [upgrade Milvus by changing its image version](#Upgrade-Milvus-by-changing-its-image).
- To upgrade Milvus from v2.1.x to 2.2.16, you need to [migrate the metadata](#Migrate-the-metadata) before the actual upgrade.

## Conduct a rolling upgrade

Expand All @@ -46,7 +46,7 @@ spec:
components:
enableRollingUpdate: true
imageUpdateMode: rollingUpgrade # Default value, can be omitted
image: milvusdb/milvus:v2.2.15
image: milvusdb/milvus:v2.2.16
```
In this above configuration file, set `spec.components.enableRollingUpdate` to `true` and set `spec.components.image` to the desired Milvus version.
Expand All @@ -62,7 +62,7 @@ spec:
components:
enableRollingUpdate: true
imageUpdateMode: all
image: milvusdb/milvus:v2.2.15
image: milvusdb/milvus:v2.2.16
```

You can set `spec.components.imageUpdateMode` to `rollingDowngrade` to have Milvus replace coordinator pod images with a lower version.
Expand Down Expand Up @@ -100,7 +100,7 @@ metadata:
spec:
# Omit other fields ...
components:
image: milvusdb/milvus:v2.2.15
image: milvusdb/milvus:v2.2.16
```

Then run the following to perform the upgrade:
Expand All @@ -111,11 +111,11 @@ kubectl apply -f milvusupgrade.yaml

## Migrate the metadata

Since Milvus 2.2.0, the metadata is incompatible with that in previous releases. The following example snippets assume an upgrade from Milvus 2.1.4 to Milvus 2.2.15.
Since Milvus 2.2.0, the metadata is incompatible with that in previous releases. The following example snippets assume an upgrade from Milvus 2.1.4 to Milvus 2.2.16.

### 1. Create a `.yaml` file for metadata migration

Create a metadata migration file. The following is an example. You need to specify the `name`, `sourceVersion`, and `targetVersion` in the configuration file. The following example sets the `name` to `my-release-upgrade`, `sourceVersion` to `v2.1.4`, and `targetVersion` to `v2.2.15`. This means that your Milvus cluster will be upgraded from v2.1.4 to v2.2.15.
Create a metadata migration file. The following is an example. You need to specify the `name`, `sourceVersion`, and `targetVersion` in the configuration file. The following example sets the `name` to `my-release-upgrade`, `sourceVersion` to `v2.1.4`, and `targetVersion` to `v2.2.16`. This means that your Milvus cluster will be upgraded from v2.1.4 to v2.2.16.

```
apiVersion: milvus.io/v1beta1
Expand All @@ -127,9 +127,9 @@ spec:
namespace: default
name: my-release
sourceVersion: "v2.1.4"
targetVersion: "v2.2.15"
targetVersion: "v2.2.16"
# below are some omit default values:
# targetImage: "milvusdb/milvus:v2.2.15"
# targetImage: "milvusdb/milvus:v2.2.16"
# toolImage: "milvusdb/meta-migration:v2.2.0"
# operation: upgrade
# rollbackIfFailed: true
Expand Down
6 changes: 3 additions & 3 deletions v2.2.x/site/en/adminGuide/upgrade_milvus_standalone-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ summary: Learn how to upgrade Milvus standalone with Docker Compose.

This topic describes how to upgrade your Milvus using Docker Compose.

In normal cases, you can [upgrade Milvus by changing its image](#Upgrade-Milvus-by-changing-its-image). However, you need to [migrate the metadata](#Migrate-the-metadata) before any upgrade from v2.1.x to v2.2.15.
In normal cases, you can [upgrade Milvus by changing its image](#Upgrade-Milvus-by-changing-its-image). However, you need to [migrate the metadata](#Migrate-the-metadata) before any upgrade from v2.1.x to v2.2.16.

<div class="alter note">

Expand All @@ -31,7 +31,7 @@ In normal cases, you can upgrade Milvus as follows:
...
standalone:
container_name: milvus-standalone
image: milvusdb/milvus:v2.2.15
image: milvusdb/milvus:v2.2.16
```
2. Run the following commands to perform the upgrade.
Expand Down Expand Up @@ -59,7 +59,7 @@ In normal cases, you can upgrade Milvus as follows:
runWithBackup: true
config:
sourceVersion: 2.1.4 # Specify your milvus version
targetVersion: 2.2.15
targetVersion: 2.2.16
backupFilePath: /tmp/migration.bak
metastore:
type: etcd
Expand Down
28 changes: 14 additions & 14 deletions v2.2.x/site/en/adminGuide/upgrade_milvus_standalone-helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ zilliztech/milvus 4.0.23 2.2.9 Milvus is an ope

You can choose the upgrade path for your Milvus as follows:

- [Conduct a rolling upgrade](#Conduct-a-rolling-upgrade) from Milvus v2.2.3 and later releases to v2.2.15.
- [Upgrade Milvus using Helm](#Upgrade-Milvus-using-Helm) for an upgrade from a minor release before v2.2.3 to v2.2.15.
- [Migrate the metadata](#Migrate-the-metadata) before the upgrade from Milvus v2.1.x to v2.2.15.
- [Conduct a rolling upgrade](#Conduct-a-rolling-upgrade) from Milvus v2.2.3 and later releases to v2.2.16.
- [Upgrade Milvus using Helm](#Upgrade-Milvus-using-Helm) for an upgrade from a minor release before v2.2.3 to v2.2.16.
- [Migrate the metadata](#Migrate-the-metadata) before the upgrade from Milvus v2.1.x to v2.2.16.

<div style="display:none;">

Expand All @@ -80,10 +80,10 @@ The script applies only to the upgrade of Milvus installed with Helm. The follow
| `w` | New Milvus image tag | `milvusdb/milvus:v2.2.3` | True |
| `o` | Operation | `update` | False |

Once you have ensured that all deployments in your Milvus instance are in their normal status. You can run the following command to upgrade the Milvus instance to 2.2.15.
Once you have ensured that all deployments in your Milvus instance are in their normal status. You can run the following command to upgrade the Milvus instance to 2.2.16.

```shell
sh rollingUpdate.sh -n default -i my-release -o update -t 2.2.15 -w 'milvusdb/milvus:v2.2.15'
sh rollingUpdate.sh -n default -i my-release -o update -t 2.2.16 -w 'milvusdb/milvus:v2.2.16'
```

<div class="alert note">
Expand Down Expand Up @@ -171,42 +171,42 @@ The following table lists the operations you can do for meta migration.
4. Migrate the Milvus metadata.
5. Start Milvus components with a new image.

#### 2. Upgrade Milvus from v2.1.x to 2.2.15
#### 2. Upgrade Milvus from v2.1.x to 2.2.16

The following commands assume that you upgrade Milvus from v2.1.4 to 2.2.15. Change them to the versions that fit your needs.
The following commands assume that you upgrade Milvus from v2.1.4 to 2.2.16. Change them to the versions that fit your needs.

1. Specify Milvus instance name, source Milvus version, and target Milvus version.

```
./migrate.sh -i my-release -s 2.1.4 -t 2.2.15
./migrate.sh -i my-release -s 2.1.4 -t 2.2.16
```
2. Specify the namespace with `-n` if your Milvus is not installed in the default K8s namespace.
```
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.15
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.16
```
3. Specify the root path with `-r` if your Milvus is installed with the custom `rootpath`.
```
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.15 -r by-dev
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.16 -r by-dev
```
4. Specify the image tag with `-w` if your Milvus is installed with a custom `image`.
```
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.15 -r by-dev -w milvusdb/milvus:v2.2.15
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.16 -r by-dev -w milvusdb/milvus:v2.2.16
```
5. Set `-d true` if you want to automatically remove the migration pod after the migration is completed.
```
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.15 -w milvusdb/milvus:v2.2.15 -d true
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.16 -w milvusdb/milvus:v2.2.16 -d true
```
6. Rollback and migrate again if the migration fails.
```
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.15 -r by-dev -o rollback -w milvusdb/milvus:v2.1.1
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.15 -r by-dev -o migrate -w milvusdb/milvus:v2.2.15
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.16 -r by-dev -o rollback -w milvusdb/milvus:v2.1.1
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.16 -r by-dev -o migrate -w milvusdb/milvus:v2.2.16
Loading

0 comments on commit 085c476

Please sign in to comment.