From 493db5c18391516c252c006a326fe894869cf190 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Mon, 24 Jan 2022 17:02:03 +0530 Subject: [PATCH] deploy: log complete ouput of rook operator kubectl log with labels will log only last 10 lines by default adding tail=-1 to log complete output. Signed-off-by: Madhu Rajanna --- scripts/rook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rook.sh b/scripts/rook.sh index d89eec366..9de0c573b 100755 --- a/scripts/rook.sh +++ b/scripts/rook.sh @@ -21,7 +21,7 @@ function log_errors() { kubectl get nodes kubectl -n rook-ceph get events kubectl -n rook-ceph describe pods - kubectl -n rook-ceph logs -l app=rook-ceph-operator + kubectl -n rook-ceph logs -l app=rook-ceph-operator --tail=-1 kubectl -n rook-ceph get CephClusters -oyaml kubectl -n rook-ceph get CephFilesystems -oyaml kubectl -n rook-ceph get CephBlockPools -oyaml