Delete the stack

Skip step 1 if you did not setup petsite on EKS cluster

1. Delete Kubernetes objects from the EKS cluster

This will break the EKS cluster removing needed services like coreDNS.

kubectl delete all --all -A

2. Delete the Traffic Generator Fargate task

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

3. Delete all resources

From /cdk/pet_stack/ directory execute the following commands.

chmod +x ./resources/