From 0b08cda599fb32fe548cd4f2ef57d3bc36ef044c Mon Sep 17 00:00:00 2001 From: zwd1208 Date: Mon, 4 Oct 2021 19:22:09 +0800 Subject: [PATCH] [skip ci]Update offline installation doc format (#9215) Signed-off-by: Weida Zhu --- deployments/offline/README.md | 52 +++++++++++++++++------------------ 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/deployments/offline/README.md b/deployments/offline/README.md index 339d2a0d9a..cc09cc1f75 100644 --- a/deployments/offline/README.md +++ b/deployments/offline/README.md @@ -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.