Skip step 1 if you did not setup petsite on EKS cluster
This will break the EKS cluster removing needed services like coreDNS.
kubectl delete all --all -A
If you followed these steps to create a traffic generator task, go back to the same cluster and simply stop the task which will kill the task immediately
From /cdk/pet_stack/
directory execute the following commands.
chmod +x ./resources/destroy_stack.sh
./resources/destroy_stack.sh