Skip to content

Commit

Permalink
print pod logs
Browse files Browse the repository at this point in the history
  • Loading branch information
carlory committed Jan 19, 2022
1 parent 1d534c2 commit 6b75281
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hack/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ function util::wait_pod_ready() {
if [ $ret -ne 0 ];then
echo "kubectl describe info:"
kubectl describe pod -l app=${pod_label} -n ${pod_namespace}
echo "kubectl logs info:"
kubectl logs -l app=${pod_label} -n ${pod_namespace}
fi
return ${ret}
}
Expand Down

0 comments on commit 6b75281

Please sign in to comment.