Skip to content

Commit

Permalink
build: log pod-logs
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Kotzbauer <[email protected]>
  • Loading branch information
ckotzbauer committed Aug 12, 2023
1 parent 3e8513b commit 219c91d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/kind/follow-coordinated-reboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ do
# come back up.
echo "Result of command $KUBECTL_CMD get nodes ... showing unschedulable nodes:"
cat "$tmp_dir"/node_output

"$KUBECTL_CMD" logs -n kube-system -l name=kured --ignore-errors > "$tmp_dir"/node_output
echo "Kured pod logs:"
cat "$tmp_dir"/node_output
fi
while read -r node; do
unschedulable=$(echo "$node" | grep true | cut -f 1 -d ' ')
Expand Down

0 comments on commit 219c91d

Please sign in to comment.