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 Aug 23, 2023
1 parent f1c95ed commit 872990d
Show file tree
Hide file tree
Showing 15 changed files with 130 additions and 81 deletions.
10 changes: 5 additions & 5 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.13",
"milvus_release_tag": "2.2.13",
"milvus_release_version": "2.2.14",
"milvus_release_tag": "2.2.14",
"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 @@ -10,7 +10,7 @@
"milvus_restful_sdk_version": "2.2.x",
"milvus_operator_version": "0.7.17",
"milvus_helm_chart_version": "4.0.32",
"milvus_image": "2.2.13",
"attu_release": "2.2.7",
"milvus_backup_release": "0.3.0"
"milvus_image": "2.2.14",
"attu_release": "2.2.8",
"milvus_backup_release": "0.3.2"
}
10 changes: 5 additions & 5 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.13/configs/milvus.yaml) `milvus.yaml` directly or with the following command.
[Download](https://raw.githubusercontent.com/milvus-io/milvus/v2.2.14/configs/milvus.yaml) `milvus.yaml` directly or with the following command.

```
$ wget https://raw.githubusercontent.com/milvus-io/milvus/v2.2.13/configs/milvus.yaml
$ wget https://raw.githubusercontent.com/milvus-io/milvus/v2.2.14/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.13/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.14/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.13/milvus-standalone-docker-compose.yml -O docker-compose.yml
$ wget https://github.com/milvus-io/milvus/releases/download/v2.2.14/milvus-standalone-docker-compose.yml -O docker-compose.yml
```

## Modify the installation file
Expand All @@ -190,7 +190,7 @@ Map the local path to your `milvus.yaml` file onto the corresponding docker cont
...
proxy:
container_name: milvus-proxy
image: milvusdb/milvus:v2.2.13
image: milvusdb/milvus:v2.2.14
command: ["milvus", "run", "proxy"]
volumes: # Add a volumes section.
- /local/path/to/your/milvus.yaml:/milvus/configs/milvus.yaml # Map the local path to the container path
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.13/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.14/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.13.
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.14.

## 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.13
image: milvusdb/milvus:v2.2.14
...
proxy:
container_name: milvus-proxy
image: milvusdb/milvus:v2.2.13
image: milvusdb/milvus:v2.2.14
...
querycoord:
container_name: milvus-querycoord
image: milvusdb/milvus:v2.2.13
image: milvusdb/milvus:v2.2.14
...
querynode:
container_name: milvus-querynode
image: milvusdb/milvus:v2.2.13
image: milvusdb/milvus:v2.2.14
...
indexcoord:
container_name: milvus-indexcoord
image: milvusdb/milvus:v2.2.13
image: milvusdb/milvus:v2.2.14
...
indexnode:
container_name: milvus-indexnode
image: milvusdb/milvus:v2.2.13
image: milvusdb/milvus:v2.2.14
...
datacoord:
container_name: milvus-datacoord
image: milvusdb/milvus:v2.2.13
image: milvusdb/milvus:v2.2.14
...
datanode:
container_name: milvus-datanode
image: milvusdb/milvus:v2.2.13
image: milvusdb/milvus:v2.2.14
```
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.13
targetVersion: 2.2.14
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 @@ -53,9 +53,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.13.
- [Upgrade Milvus using Helm](#Upgrade-Milvus-using-Helm) for an upgrade from a minor release before v2.2.3 to v2.2.13.
- [Migrate the metadata](#Migrate-the-metadata) before the upgrade from Milvus v2.1.x to v2.2.13.
- [Conduct a rolling upgrade](#Conduct-a-rolling-upgrade) from Milvus v2.2.3 and later releases to v2.2.14.
- [Upgrade Milvus using Helm](#Upgrade-Milvus-using-Helm) for an upgrade from a minor release before v2.2.3 to v2.2.14.
- [Migrate the metadata](#Migrate-the-metadata) before the upgrade from Milvus v2.1.x to v2.2.14.

<div style="display: none;">

Expand All @@ -77,10 +77,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.13.
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.14.

```shell
sh rollingUpdate.sh -n default -i my-release -o update -t 2.2.13 -w 'milvusdb/milvus:v2.2.13'
sh rollingUpdate.sh -n default -i my-release -o update -t 2.2.14 -w 'milvusdb/milvus:v2.2.14'
```

<div class="alert note">
Expand Down Expand Up @@ -190,43 +190,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.13
#### 2. Upgrade Milvus from v2.1.x to 2.2.14

The following commands assume that you upgrade Milvus from v2.1.4 to 2.2.13. Change them to the versions that fit your needs.
The following commands assume that you upgrade Milvus from v2.1.4 to 2.2.14. 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.13
./migrate.sh -i my-release -s 2.1.4 -t 2.2.14
```

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.13
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.14
```

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.13 -r by-dev
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.14 -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.13 -r by-dev -w milvusdb/milvus:v2.2.13
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.14 -r by-dev -w milvusdb/milvus:v2.2.14
```

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.13 -w milvusdb/milvus:v2.2.13 -d true
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.14 -w milvusdb/milvus:v2.2.14 -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.13 -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.13 -r by-dev -o migrate -w milvusdb/milvus:v2.2.13
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.14 -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.14 -r by-dev -o migrate -w milvusdb/milvus:v2.2.14
```
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.13, you can [conduct a rolling upgrade](#Conduct-a-rolling-upgrade).
- To upgrade Milvus from a minor release before v2.2.3 to 2.2.13, 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.13, 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.14, you can [conduct a rolling upgrade](#Conduct-a-rolling-upgrade).
- To upgrade Milvus from a minor release before v2.2.3 to 2.2.14, 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.14, 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.13
image: milvusdb/milvus:v2.2.14
```
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.13
image: milvusdb/milvus:v2.2.14
```

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.13
image: milvusdb/milvus:v2.2.14
```

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.13.
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.14.

### 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.13`. This means that your Milvus cluster will be upgraded from v2.1.4 to v2.2.13.
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.14`. This means that your Milvus cluster will be upgraded from v2.1.4 to v2.2.14.

```
apiVersion: milvus.io/v1beta1
Expand All @@ -127,9 +127,9 @@ spec:
namespace: default
name: my-release
sourceVersion: "v2.1.4"
targetVersion: "v2.2.13"
targetVersion: "v2.2.14"
# below are some omit default values:
# targetImage: "milvusdb/milvus:v2.2.13"
# targetImage: "milvusdb/milvus:v2.2.14"
# 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.13.
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.14.

<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.13
image: milvusdb/milvus:v2.2.14
```
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.13
targetVersion: 2.2.14
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 @@ -54,9 +54,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.13.
- [Upgrade Milvus using Helm](#Upgrade-Milvus-using-Helm) for an upgrade from a minor release before v2.2.3 to v2.2.13.
- [Migrate the metadata](#Migrate-the-metadata) before the upgrade from Milvus v2.1.x to v2.2.13.
- [Conduct a rolling upgrade](#Conduct-a-rolling-upgrade) from Milvus v2.2.3 and later releases to v2.2.14.
- [Upgrade Milvus using Helm](#Upgrade-Milvus-using-Helm) for an upgrade from a minor release before v2.2.3 to v2.2.14.
- [Migrate the metadata](#Migrate-the-metadata) before the upgrade from Milvus v2.1.x to v2.2.14.

<div style="display:none;">

Expand All @@ -78,10 +78,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.13.
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.14.

```shell
sh rollingUpdate.sh -n default -i my-release -o update -t 2.2.13 -w 'milvusdb/milvus:v2.2.13'
sh rollingUpdate.sh -n default -i my-release -o update -t 2.2.14 -w 'milvusdb/milvus:v2.2.14'
```

<div class="alert note">
Expand Down Expand Up @@ -169,42 +169,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.13
#### 2. Upgrade Milvus from v2.1.x to 2.2.14

The following commands assume that you upgrade Milvus from v2.1.4 to 2.2.13. Change them to the versions that fit your needs.
The following commands assume that you upgrade Milvus from v2.1.4 to 2.2.14. 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.13
./migrate.sh -i my-release -s 2.1.4 -t 2.2.14
```

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.13
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.14
```

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.13 -r by-dev
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.14 -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.13 -r by-dev -w milvusdb/milvus:v2.2.13
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.14 -r by-dev -w milvusdb/milvus:v2.2.14
```

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.13 -w milvusdb/milvus:v2.2.13 -d true
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.14 -w milvusdb/milvus:v2.2.14 -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.13 -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.13 -r by-dev -o migrate -w milvusdb/milvus:v2.2.13
./migrate.sh -i my-release -n milvus -s 2.1.4 -t 2.2.14 -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.14 -r by-dev -o migrate -w milvusdb/milvus:v2.2.14
Loading

0 comments on commit 872990d

Please sign in to comment.