milvus/tests/python_client/chaos/scripts/install_milvus_standalone.sh
zhuwenxing 40326f0cac
[skip e2e]Enable serviceMonitor for installation (#17539)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2022-06-14 11:40:09 +08:00

12 lines
544 B
Bash

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