Updated Installation (markdown)

master
jingkl 2021-10-18 16:31:11 +08:00
parent e875c12b54
commit 872acf8ca4
1 changed files with 12 additions and 12 deletions

@ -32,11 +32,11 @@ To delete data after stopping Milvus, run <code> $ sudo rm -rf volumes</code>.
# Install Milvus Standalone on kubenetes
### 1. Start a K8s cluster
1. Start a K8s cluster
```
$ minikube start
```
### 2. Start Milvus
2. Start Milvus
#### Add a chart repository:
```
@ -62,23 +62,23 @@ my-release-etcd-0 1/1 Running 0
my-release-milvus-standalone-54c4f88cb9-f84pf 1/1 Running 0 30s
my-release-minio-5564fbbddc-mz7f5 1/1 Running 0 30s
```
### 3. Connect to Milvus
3. Connect to Milvus
Open a new terminal and run the following command to forward the local port to the port that Milvus uses.
```
$ kubectl port-forward service/my-release-milvus 19530
Forwarding from 127.0.0.1:19530 -> 19530
```
### 4. Uninstall Milvus
4. Uninstall Milvus
```
$ helm uninstall my-release
```
### 5. Stop the K8s cluster
5. Stop the K8s cluster
Run the following command to stop the cluster and the minikube VM without deleting created resources.
```
$ minikube stop
```
### 6. Delete the K8s cluster
6. Delete the K8s cluster
Run the following command to delete the cluster, the minikube VM, and all created resources including persistent volumes.
```
@ -138,11 +138,11 @@ To delete data after stopping Milvus, run <code> $ sudo rm -rf volumes</code>.
# Install Milvus Cluster with kubenetes
### 1. Start a K8s cluster
1. Start a K8s cluster
```
$ minikube start
```
### 2. Start Milvus
2. Start Milvus
#### Add a chart repository:
```
@ -177,22 +177,22 @@ my-release-milvus-querynode-68486d847c-q5fg7 1/1 Running 0 3
my-release-milvus-rootcoord-746d8b5b99-2strx 1/1 Running 0 33s
my-release-minio-68bbbf8459-2qxwv 1/1 Running 0 33s
```
### 3. Connect to Milvus
3. Connect to Milvus
Open a new terminal and run the following command to forward the local port to the port that Milvus uses.
```
$ kubectl port-forward service/my-release-milvus 19530
Forwarding from 127.0.0.1:19530 -> 19530
```
### 4. Uninstall Milvus
4. Uninstall Milvus
```
$ helm uninstall my-release
```
### 5. Stop the K8s cluster
5. Stop the K8s cluster
Run the following command to stop the cluster and the minikube VM without deleting created resources.
```
$ minikube stop
```
### 6. Delete the K8s cluster
6. Delete the K8s cluster
Run the following command to delete the cluster, the minikube VM, and all created resources including persistent volumes.
```
minikube delete