mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 03:48:37 +08:00
[skip ci]Update offline installation doc format (#9215)
Signed-off-by: Weida Zhu <weida.zhu@zilliz.com>
This commit is contained in:
parent
b244ef2147
commit
0b08cda599
@ -9,45 +9,45 @@ Milvus installation may fail when images are not properly loaded from public Doc
|
|||||||
#### If you install Milvus with the **docker-compose.yml** file, use these commands:
|
#### If you install Milvus with the **docker-compose.yml** file, use these commands:
|
||||||
|
|
||||||
#### 1. Download Milvus standalone docker-compose.yml
|
#### 1. Download Milvus standalone docker-compose.yml
|
||||||
```shell
|
```shell
|
||||||
wget https://raw.githubusercontent.com/milvus-io/milvus/master/deployments/docker/standalone/docker-compose.yml -O docker-compose.yml
|
wget https://raw.githubusercontent.com/milvus-io/milvus/master/deployments/docker/standalone/docker-compose.yml -O docker-compose.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
or download Milvus cluster docker-compose.yml
|
or download Milvus cluster docker-compose.yml
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
wget https://raw.githubusercontent.com/milvus-io/milvus/master/deployments/docker/cluster/docker-compose.yml -O docker-compose.yml
|
wget https://raw.githubusercontent.com/milvus-io/milvus/master/deployments/docker/cluster/docker-compose.yml -O docker-compose.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 2. Pull and save Docker images
|
#### 2. Pull and save Docker images
|
||||||
```shell
|
```shell
|
||||||
pip3 install -r requirements.txt
|
pip3 install -r requirements.txt
|
||||||
python3 save_image.py --manifest docker-compose.yml
|
python3 save_image.py --manifest docker-compose.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
#### If you install Milvus with **Helm**, use these command:
|
#### If you install Milvus with **Helm**, use these command:
|
||||||
#### 1. Update Helm repo
|
#### 1. Update Helm repo
|
||||||
```shell
|
```shell
|
||||||
helm repo add milvus https://milvus-io.github.io/milvus-helm/
|
helm repo add milvus https://milvus-io.github.io/milvus-helm/
|
||||||
helm repo update
|
helm repo update
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 2. Get Kubernetes manifests of Milvus standalone
|
#### 2. Get Kubernetes manifests of Milvus standalone
|
||||||
```shell
|
```shell
|
||||||
helm template my-release milvus/milvus > milvus_manifest.yaml
|
helm template my-release milvus/milvus > milvus_manifest.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
or get Kubernetes manifests of Milvus cluster
|
or get Kubernetes manifests of Milvus cluster
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
helm template --set cluster.enabled=true my-release milvus/milvus > milvus_manifest.yaml
|
helm template --set cluster.enabled=true my-release milvus/milvus > milvus_manifest.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 3. Pull and save Docker images
|
#### 3. Pull and save Docker images
|
||||||
```shell
|
```shell
|
||||||
pip3 install -r requirements.txt
|
pip3 install -r requirements.txt
|
||||||
python3 save_image.py --manifest milvus_manifest.yaml
|
python3 save_image.py --manifest milvus_manifest.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
The Docker images will be stored under **images** directory.
|
The Docker images will be stored under **images** directory.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user