milvus/tests/python_client/standby/scripts/install_milvus_cluster.sh
zhuwenxing daa615c2b5
[skip e2e]Sync standby test to master branch (#24350)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-05-24 12:17:26 +08:00

13 lines
535 B
Bash

#!/bin/bash
set -e
release=${1:-"milvs-chaos"}
ns=${2:-"chaos-testing"}
bash uninstall_milvus.sh ${release} ${ns}|| true
echo "install cluster"
helm install --wait --debug --timeout 600s ${RELEASE_NAME:-$release} milvus/milvus \
--set image.all.repository=${REPOSITORY:-"milvusdb/milvus"} \
--set image.all.tag=${IMAGE_TAG:-"master-latest"} \
--set metrics.serviceMonitor.enabled=true \
-f ../cluster-values.yaml -n=${ns}