mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-01-29 16:19:29 +00:00
ci: get logs from all pods in the rook-ceph namespace on failure
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
7ebc8306ef
commit
0049638e64
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user