Skip to content

Commit

Permalink
<doc>: Add docs for the minimal standalone (#47)
Browse files Browse the repository at this point in the history
Signed-off-by: Wang Yanfeng <[email protected]>
  • Loading branch information
wyfeng001 authored Jan 10, 2024
1 parent 2d2bbea commit 02cd289
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:

- name: Add dependency chart repos
run: |
helm repo add kafkaesque https://helm.kafkaesque.io
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add milvus https://zilliztech.github.io/milvus-helm
helm repo add bitnami-pre-2022 https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami
Expand Down
39 changes: 39 additions & 0 deletions charts/milvus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,45 @@ $ helm upgrade --install my-release --set cluster.enabled=false --set standalone
# Milvus Standalone with kafka as message queue
$ helm upgrade --install my-release --set cluster.enabled=false --set standalone.messageQueue=kafka --set etcd.replicaCount=1 --set pulsar.enabled=false --set kafka.enabled=true --set minio.mode=standalone milvus/milvus
```
If you need to use standalone mode with embedded ETCD and local storage (without starting MinIO and additional ETCD), you can use the following steps:

1. Prepare a values file
```
cat > values.yaml <<EOF
---
cluster:
enabled: false
etcd:
enabled: false
pulsar:
enabled: false
minio:
enabled: false
tls:
enabled: false
extraConfigFiles:
user.yaml: |+
etcd:
use:
embed: true
data:
dir: /var/lib/milvus/etcd
common:
storageType: local
EOF
```

2. Helm install with this values file
```
helm upgrade --install -f values.yaml my-release milvus/milvus
```

> **Tip**: To list all releases, using `helm list`.
### Deploy Milvus with cluster mode
Expand Down

0 comments on commit 02cd289

Please sign in to comment.