Skip to content

Commit

Permalink
Add kubelet.log
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Yang <poan.yang@suse.com>
  • Loading branch information
FrankYang0529 authored and bk201 committed Apr 27, 2022
1 parent 911af2b commit b6efc8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hack/collector-harvester
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,5 @@ for unit in ${units[@]}; do
chroot $HOST_PATH /usr/bin/journalctl -b all -u $unit | tail -c 10m > $unit.log
done

cp ${HOST_PATH}/var/lib/rancher/rke2/agent/logs/kubelet.log .
cp ${HOST_PATH}/var/log/console.log .

0 comments on commit b6efc8e

Please sign in to comment.