Skip to content

Commit

Permalink
Add inference graph pod logs for debugging in status check
Browse files Browse the repository at this point in the history
Signed-off-by: Sivanantham Chinnaiyan <[email protected]>
  • Loading branch information
sivanantha321 committed Feb 16, 2024
1 parent 1aebced commit d8a6b94
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/scripts/gh-actions/status-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ for pod in $(kubectl get pods -l 'component in (explainer)' -o jsonpath='{.items
done
echo "::endgroup::"

echo "::group::InferenceGraph Pod logs"
for pod in $(kubectl get pods -l 'serving.kserve.io/inferencegraph=model-chainer' -o jsonpath='{.items[*].metadata.name}' -n kserve-ci-e2e-test); do
echo "===================================== Logs for Graph Pod: $pod ========================================="
kubectl logs "$pod" -c user-container -n kserve-ci-e2e-test --tail 500
echo "================================================================================================================"
done
echo "::endgroup::"

shopt -s nocasematch
if [[ $# -eq 1 && "$1" == "kourier" ]]; then
echo "::group::Kourier Gateway Pod logs"
Expand Down

0 comments on commit d8a6b94

Please sign in to comment.