File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,14 @@ echo "==========================================================================
54
54
ip=` kubectl get svc csi-$DRIVER -controller -n kube-system | awk ' {print $4}' `
55
55
curl http://$ip :29634/metrics
56
56
57
+ if [ -n " $ENABLE_BLOBFUSE_PROXY " ]; then
58
+ echo " print out install-blobfuse-proxy logs ..."
59
+ echo " ======================================================================================"
60
+ LABEL=" app=csi-$DRIVER -node"
61
+ PROXY=install-blobfuse-proxy
62
+ kubectl get pods -n${NS} -l${LABEL} \
63
+ | awk ' NR>1 {print $1}' \
64
+ | xargs -I {} kubectl logs {} --prefix -c${PROXY} -n${NS}
65
+ fi
66
+
57
67
58
- echo " print out sysctl-install-blobfuseproxy logs ..."
59
- echo " ======================================================================================"
60
- LABEL=' app=csi-blobfuse-proxy'
61
- PROXY=sysctl-install-blobfuse-proxy
62
- kubectl get pods -n${NS} -l${LABEL} \
63
- | awk ' NR>1 {print $1}' \
64
- | xargs -I {} kubectl logs {} --prefix -c${PROXY} -n${NS}
You can’t perform that action at this time.
0 commit comments