From 4481a0b31e861049e52b4a3b8fdf3be0c47a6510 Mon Sep 17 00:00:00 2001 From: Flavio Percoco Date: Thu, 16 Nov 2017 17:16:05 +0100 Subject: [PATCH] Add get pods to the logs Change-Id: I1d7a3fb3c87da28f00b0e4771074a53949ba23c0 --- tests/get_logs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/get_logs.sh b/tests/get_logs.sh index 3958b06..a333ce9 100644 --- a/tests/get_logs.sh +++ b/tests/get_logs.sh @@ -73,7 +73,7 @@ copy_logs() { fi (kubectl version && kubectl cluster-info dump && kubectl config view) > ${SYSTEM_LOGS}/k8s-info.txt 2>&1 - kubectl describe all --all-namespaces > ${SYSTEM_LOGS}/k8s-describe-all.txt 2>&1 + (kubectl get pods --all-namespaces && kubectl describe all --all-namespaces) > ${SYSTEM_LOGS}/k8s-describe-all.txt 2>&1 fi # Rename files to .txt; this is so that when displayed via