Skip to content

Commit bfb0c1b

Browse files
author
Néstor Salceda
committed
Be more specific about that capture file is in your local disk
1 parent f4082e0 commit bfb0c1b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

kubectl-capture

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ EOF
137137
kubectl apply -f capture-pod.yaml > /dev/null 2>&1
138138
rm capture-pod.yaml
139139

140-
echo "Sysdig is starting to capture system calls. See details below:"
140+
echo "Sysdig is starting to capture system calls:"
141141
echo ""
142142
echo "Node: ${node}"
143143
echo "Pod: ${pod}"
@@ -153,7 +153,8 @@ EOF
153153

154154
kubectl cp ${capture_pod}:/${capture_pod}.scap.gz ${capture_pod}.scap.gz > /dev/null 2>&1
155155
kubectl delete pod ${capture_pod} > /dev/null 2>&1
156-
echo "Your capture is now available at ${capture_pod}.scap.gz"
156+
echo "The capture has been downloaded to your hard disk at:"
157+
echo "${PWD}/${capture_pod}.scap.gz"
157158
}
158159

159160
main "$@"

0 commit comments

Comments
 (0)