Skip to content

Commit

Permalink
test: pring logs
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Nov 8, 2024
1 parent 6e73990 commit ff13a11
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/utils/blob_log.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,20 @@ kubectl get pods -n${NS} -l${LABEL} \
| awk 'NR>1 {print $1}' \
| xargs -I {} kubectl logs {} --prefix -c${CONTAINER} -n${NS}

echo "print out csi-$DRIVER-node logs ..."
echo "print out install-blobfuse-proxy logs ..."
echo "======================================================================================"
LABEL="app=csi-$DRIVER-node"
PROXY=install-blobfuse-proxy
kubectl get pods -n${NS} -l${LABEL} \
| awk 'NR>1 {print $1}' \
| xargs -I {} kubectl logs {} --prefix -c${CONTAINER} -n${NS}
| xargs -I {} kubectl logs {} --prefix -c${PROXY} -n${NS}

echo "print out install-blobfuse-proxy logs ..."
echo "print out csi-$DRIVER-node logs ..."
echo "======================================================================================"
LABEL="app=csi-$DRIVER-node"
PROXY=install-blobfuse-proxy
kubectl get pods -n${NS} -l${LABEL} \
| awk 'NR>1 {print $1}' \
| xargs -I {} kubectl logs {} --prefix -c${PROXY} -n${NS}
| xargs -I {} kubectl logs {} --prefix -c${CONTAINER} -n${NS}

echo "======================================================================================"
ip=`kubectl get svc csi-$DRIVER-controller -n kube-system | awk '{print $4}'`
Expand Down

0 comments on commit ff13a11

Please sign in to comment.