Cleanup

This workshop has been deprecated and archived. The new Amazon EKS Workshop is now available at www.eksworkshop.com.

Cleanup

Delete all workflows

argo -n argo delete --all

Remove Artifact Repository Bucket

aws s3 rb s3://batch-artifact-repository-${ACCOUNT_ID}/ --force

Undeploy Argo

kubectl delete -n argo -f https://raw.githubusercontent.com/argoproj/argo-workflows/${ARGO_VERSION}/manifests/install.yaml

kubectl delete namespace argo

Cleanup Kubernetes Job

kubectl delete job/whalesay

delete the inline policy

 aws iam delete-role-policy --role-name $ROLE_NAME --policy-name S3-Policy-For-Worker

delete the folder and all the files in it

rm -rf ~/environment/batch_policy