Clean Up

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

Cleaning up

Once we are done, let’s cleanup the resources specific to this module:

kubectl delete -f ""
kubectl delete -f claim.yaml
kubectl delete -f storageclass.yaml
kubectl delete -k ""

aws s3 rm --recursive s3://$S3_LOGS_BUCKET
aws s3 rb  s3://$S3_LOGS_BUCKET

eksctl delete iamserviceaccount \
    --region $AWS_REGION \
    --name fsx-csi-controller-sa \
    --namespace kube-system \
    --cluster $CLUSTER_NAME

aws iam delete-policy \
    --policy-arn arn:aws:iam::$ACCOUNT_ID:policy/Amazon_FSx_Lustre_CSI_Driver