mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 13:28:49 +08:00
8c71e2bd64
Signed-off-by: Bennu-Li <yunmei.li@zilliz.com>
18 lines
593 B
Bash
18 lines
593 B
Bash
|
|
release=${1:-"milvs-chaos"}
|
|
milvus_mode=${2:-"cluster"}
|
|
ns=${3:-"chaos-testing"}
|
|
bash uninstall_milvus.sh ${release} ${ns}|| true
|
|
|
|
helm repo add milvus https://zilliztech.github.io/milvus-helm/
|
|
helm repo update
|
|
if [[ ${milvus_mode} == "cluster" ]];
|
|
then
|
|
helm install --wait --timeout 360s ${release} milvus/milvus -f ../cluster-values.yaml --set metrics.serviceMonitor.enabled=true -n=${ns}
|
|
fi
|
|
|
|
if [[ ${milvus_mode} == "standalone" ]];
|
|
then
|
|
helm install --wait --timeout 360s ${release} milvus/milvus -f ../standalone-values.yaml --set metrics.serviceMonitor.enabled=true -n=${ns}
|
|
fi
|