mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 19:39:21 +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:
|
||||
|
||||
#### 1. Download Milvus standalone docker-compose.yml
|
||||
```shell
|
||||
wget https://raw.githubusercontent.com/milvus-io/milvus/master/deployments/docker/standalone/docker-compose.yml -O docker-compose.yml
|
||||
```
|
||||
```shell
|
||||
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
|
||||
wget https://raw.githubusercontent.com/milvus-io/milvus/master/deployments/docker/cluster/docker-compose.yml -O docker-compose.yml
|
||||
```
|
||||
```shell
|
||||
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
|
||||
```shell
|
||||
pip3 install -r requirements.txt
|
||||
python3 save_image.py --manifest docker-compose.yml
|
||||
```
|
||||
```shell
|
||||
pip3 install -r requirements.txt
|
||||
python3 save_image.py --manifest docker-compose.yml
|
||||
```
|
||||
|
||||
#### If you install Milvus with **Helm**, use these command:
|
||||
#### 1. Update Helm repo
|
||||
```shell
|
||||
helm repo add milvus https://milvus-io.github.io/milvus-helm/
|
||||
helm repo update
|
||||
```
|
||||
```shell
|
||||
helm repo add milvus https://milvus-io.github.io/milvus-helm/
|
||||
helm repo update
|
||||
```
|
||||
|
||||
#### 2. Get Kubernetes manifests of Milvus standalone
|
||||
```shell
|
||||
helm template my-release milvus/milvus > milvus_manifest.yaml
|
||||
```
|
||||
```shell
|
||||
helm template my-release milvus/milvus > milvus_manifest.yaml
|
||||
```
|
||||
|
||||
or get Kubernetes manifests of Milvus cluster
|
||||
or get Kubernetes manifests of Milvus cluster
|
||||
|
||||
```shell
|
||||
helm template --set cluster.enabled=true my-release milvus/milvus > milvus_manifest.yaml
|
||||
```
|
||||
```shell
|
||||
helm template --set cluster.enabled=true my-release milvus/milvus > milvus_manifest.yaml
|
||||
```
|
||||
|
||||
#### 3. Pull and save Docker images
|
||||
```shell
|
||||
pip3 install -r requirements.txt
|
||||
python3 save_image.py --manifest milvus_manifest.yaml
|
||||
```
|
||||
```shell
|
||||
pip3 install -r requirements.txt
|
||||
python3 save_image.py --manifest milvus_manifest.yaml
|
||||
```
|
||||
|
||||
The Docker images will be stored under **images** directory.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user