From c32148fa20fd5090ba0ed72e4f90c2738d8d4ddb Mon Sep 17 00:00:00 2001 From: Jenny Li Date: Tue, 14 Dec 2021 11:41:10 +0800 Subject: [PATCH] Add Pod & PVC List after helm install (#13293) Signed-off-by: Jenny Li --- tests/scripts/install_milvus.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/scripts/install_milvus.sh b/tests/scripts/install_milvus.sh index 2d465ef66a..f56247e253 100755 --- a/tests/scripts/install_milvus.sh +++ b/tests/scripts/install_milvus.sh @@ -12,7 +12,7 @@ # or implied. See the License for the specific language governing permissions and limitations under the License. # Exit immediately for non zero status -set -e +# set -e # Print commands set -x @@ -84,3 +84,8 @@ else "${MILVUS_HELM_RELEASE_NAME}" \ ${@:-} "${MILVUS_HELM_CHART_PATH}" fi + +exitcode=$? +kubectl get pods -n ${MILVUS_HELM_NAMESPACE} | grep ${MILVUS_HELM_RELEASE_NAME} +kubectl get pvc -n ${MILVUS_HELM_NAMESPACE} | grep ${MILVUS_HELM_RELEASE_NAME} | awk '{$3=null;print $0}' +exit ${exitcode} \ No newline at end of file