Skip to content

Commit

Permalink
Merge pull request #1457 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…1450-to-release-1.24

[release-1.24] test: not print controller metrics in logs due to IP retrieval issue
  • Loading branch information
andyzhangx authored Sep 20, 2023
2 parents e1ffd4a + c909254 commit 7824754
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/utils/azurefile_log.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7824754

Please # to comment.