From 6b752815815b840d9b6403ce3bd270240f4bb672 Mon Sep 17 00:00:00 2001 From: carlory Date: Wed, 19 Jan 2022 15:03:52 +0800 Subject: [PATCH] print pod logs --- hack/util.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hack/util.sh b/hack/util.sh index 4a2b7774b20b..aa93fffff4dc 100755 --- a/hack/util.sh +++ b/hack/util.sh @@ -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} }