Skip to content

Commit

Permalink
check the logs of kubelet
Browse files Browse the repository at this point in the history
Signed-off-by: helenxie-bit <[email protected]>
  • Loading branch information
helenxie-bit committed Sep 18, 2024
1 parent c1fde09 commit 8ff6864
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/e2e-test-tune-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ jobs:
kubectl describe pod $POD_NAME -n default
kubectl logs $POD_NAME -n default
kubectl get events -n default | grep "tune-example-2"
# Step to fetch kubelet logs from Minikube
- name: Fetch Kubelet Logs
if: always() # Run this step even if previous steps fail
shell: bash
run: |
echo "Fetching kubelet logs from Minikube..."
minikube ssh "sudo journalctl -u kubelet"
strategy:
fail-fast: false
Expand Down

0 comments on commit 8ff6864

Please sign in to comment.