From 0049638e6430b80e359a2d4041bba43e5c3bf994 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 14 May 2021 16:33:33 +0200 Subject: [PATCH] ci: get logs from all pods in the rook-ceph namespace on failure Signed-off-by: Niels de Vos --- system-status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-status.sh b/system-status.sh index 889108633..33241ec38 100755 --- a/system-status.sh +++ b/system-status.sh @@ -44,7 +44,7 @@ log minikube_ssh sudo tar c /var/lib/rook | tar xvO # gets status of the Rook deployment log kubectl -n rook-ceph get pods -for POD in $(kubectl -n rook-ceph get pod -l rook_cluster=rook-ceph -o jsonpath='{.items[0].metadata.name}') +for POD in $(kubectl -n rook-ceph get pods -o jsonpath='{.items[0].metadata.name}') do log kubectl -n rook-ceph describe pod "${POD}" log kubectl -n rook-ceph logs "${POD}"