ci: get logs from all containers in pod in system-status.sh

Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
Rakshith R 2021-05-17 16:47:31 +05:30 committed by mergify[bot]
parent 4a6b08256b
commit ad2c02bdc0

View File

@ -48,7 +48,7 @@ log kubectl -n rook-ceph get pods
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}"
log kubectl -n rook-ceph logs "${POD}" --all-containers
log kubectl -n rook-ceph logs "${POD}" --all-containers --previous=true
done
log kubectl -n rook-ceph describe CephCluster