From a75dfefb3a5d33d8c605a9deafc26d430f04ee4c Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Thu, 13 Aug 2026 12:20:18 -0700 Subject: [PATCH] Add agent logs on failure Signed-off-by: Derek Nola --- .github/workflows/integration.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index b2b3c8d..3f55871 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -268,6 +268,12 @@ jobs: elif [ $service_mgr == "openrc" ]; then docker exec server-node tail -n 50 /var/log/k3s.log fi + echo "AGENT LOGS" + if [ $service_mgr == "systemd" ]; then + docker exec agent-node journalctl -u k3s -n 50 + elif [ $service_mgr == "openrc" ]; then + docker exec agent-node tail -n 50 /var/log/k3s.log + fi - name: Remove K3s from Server and Agent