Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Rajat Jindal <[email protected]>
  • Loading branch information
rajatjindal committed Mar 23, 2024
1 parent 032c565 commit b82d2d8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/workloads-delete.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ set -euo pipefail
NODE=`kubectl get pod $(kubectl get pod -l app=wasm-spin --no-headers | awk '{print $1}') --no-headers -o custom-columns=":spec.nodeName"`
echo "node is $NODE"

kubectl delete pod -l app=wasm-spin --timeout 50s || true
kubectl describe pod -l app=wasm-spin

CID=`docker ps | grep "$NODE" | awk '{print $1}'`
echo "cid is $CID"


kubectl delete pod -l app=wasm-spin --timeout 20s || true
docker exec $CID ps -ef

kubectl describe pod -l app=wasm-spin

docker exec $CID ps -ef
docker exec $CID cat /var/lib/rancher/k3s/agent/containerd/containerd.log

0 comments on commit b82d2d8

Please sign in to comment.