Skip to content

Commit

Permalink
updated kubectl_pods_dump_jstacks.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Aug 23, 2024
1 parent 730b040 commit 08c5196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes/kubectl_pods_dump_jstacks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ while read -r pod; do
timestamp "Copying /tmp/jstack-output.txt to local machine" &&
kubectl cp "$pod":/tmp/jstack-output.txt "$output_file" &&
timestamp "Dumped pod jstack to file: $output_file" ||
warn "Failed to collect for pod '$pod'"
warn "Failed to collect jstack for pod '$pod'"
# XXX: because race condition - pods can go away during execution and we still want to collect the rest of the pods
done
timestamp "JStack dumps completed"

0 comments on commit 08c5196

Please sign in to comment.