Skip to content

Commit

Permalink
print pod logs
Browse files Browse the repository at this point in the history
Signed-off-by: carlory <[email protected]>
  • Loading branch information
carlory committed Jan 19, 2022
1 parent 603b92a commit f23ea9d
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 f23ea9d

Please sign in to comment.