File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -490,16 +490,12 @@ jobs:
490490 if : always()
491491 run : |
492492 for pod in $(kubectl get pods -n "$FMA_NAMESPACE" -o 'jsonpath={.items[*].metadata.name} ') ; do
493- containers=$(kubectl get pod -n "$FMA_NAMESPACE" "$pod" -o 'jsonpath={.spec.containers[*].name}')
494-
495- for container in $containers ; do
496- echo ""
497- echo "=== Previous log of $pod (container: $container) ==="
498- kubectl logs -n "$FMA_NAMESPACE" "$pod" -c "$container" --previous || true
499- echo ""
500- echo "=== Log of $pod (container: $container) ==="
501- kubectl logs -n "$FMA_NAMESPACE" "$pod" -c "$container" || true
502- done
493+ echo ""
494+ echo "=== Previous log of $pod ==="
495+ kubectl logs -n "$FMA_NAMESPACE" $pod --previous || true
496+ echo ""
497+ echo "=== Log of $pod ==="
498+ kubectl logs -n "$FMA_NAMESPACE" $pod || true
503499 done
504500
505501 - name : Dump vLLM instance logs from launchers
You can’t perform that action at this time.
0 commit comments