From cae81ab82c2959583d33a39c7a72b66a603fd9d4 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Tue, 19 Sep 2023 07:11:12 +0000 Subject: [PATCH] test: not print controller metrics in logs due to IP retrieval issue --- test/utils/azurefile_log.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/utils/azurefile_log.sh b/test/utils/azurefile_log.sh index 3b0af89ae7..7197ee069e 100755 --- a/test/utils/azurefile_log.sh +++ b/test/utils/azurefile_log.sh @@ -63,7 +63,7 @@ kubectl get pods -n${NS} -l${LABEL} \ | awk 'NR>1 {print $1}' \ | xargs -I {} bash -c "echo 'dumping logs for ${NS}/{}/${DRIVER}' && kubectl logs {} -c${CONTAINER} -n${NS}" -echo "print out cloudprovider_azure metrics ..." -echo "======================================================================================" -ip=`kubectl get svc csi-${DRIVER}-controller -n kube-system | awk '{print $4}'` -curl http://$ip:29614/metrics +#echo "print out cloudprovider_azure metrics ..." +#echo "======================================================================================" +#ip=`kubectl get svc csi-${DRIVER}-controller -n kube-system | awk '{print $4}'` +#curl http://$ip:29614/metrics