Skip to content

Commit

Permalink
redo
Browse files Browse the repository at this point in the history
Signed-off-by: dwertent <[email protected]>
  • Loading branch information
dwertent committed Dec 19, 2024
1 parent 06b9422 commit 87de78c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ jobs:
if: failure()
run: |
for i in 1 2 3; do
kubectl port-forward paladin-node$-0 $((6060 + i)):6060 -n ${{ env.NAMESPACE }} &
POD_NAME="paladin-node$i-0"
echo "Port-forwarding $POD_NAME on port $((6060 + i))"
kubectl port-forward pod/$POD_NAME $((6060 + i)):6060 -n ${{ env.NAMESPACE }} &
curl "http://localhost:$((6060 + i))/debug/pprof/goroutine?debug=2" > goroutine_dump_node$i.txt
curl "http://localhost:$((6060 + i))/debug/pprof/heap" > heap_profile_node$i.txt
done
Expand Down

0 comments on commit 87de78c

Please sign in to comment.