From 980784c325a09f9783f29d1bf6d926e5381c56d5 Mon Sep 17 00:00:00 2001 From: bharathappali Date: Thu, 10 Aug 2023 16:55:35 +0530 Subject: [PATCH] Make changes to FFDC Signed-off-by: bharathappali --- scripts/ffdc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ffdc.sh b/scripts/ffdc.sh index 7fad38dd3..d44d024d3 100755 --- a/scripts/ffdc.sh +++ b/scripts/ffdc.sh @@ -41,7 +41,7 @@ function ffdc() { pod_log="${log_dir}/kruize_pod_log.txt" describe_log="${log_dir}/kruize_describe_pod_log.txt" - kruize_pod=$(kubectl get pod -n $namespace | grep $service | cut -d " " -f1) + kruize_pod=$(kubectl get pod -n $namespace | grep $service | grep -v "kruize-ui" | cut -d " " -f1) kubectl describe pod ${kruize_pod} -n ${namespace} > ${describe_log} 2>&1 check_err "Error getting kubectl describe kruize pod log! Check ${describe_log} for details!"