+++
title = " Cleanup”
weight = 56
hidden=true
pre = “56. ”
+++
标题: 清理 权重: 80
请按照以下步骤清理您为此研讨会创建的资源:
# 列出所有虚拟集群 ID
aws emr-containers list-virtual-clusters
# 通过传递虚拟集群 ID 删除虚拟集群
aws emr-containers delete-virtual-cluster --id <virtual-cluster-id>
helm uninstall aws-load-balancer-controller \
-n kube-system
kubectl delete -k github.com/aws/eks-charts/stable/aws-load-balancer-controller//crds?ref=master
eksctl delete iamserviceaccount \
--cluster <<EKSClusterName >> \
--name aws-load-balancer-controller \
--namespace kube-system \
--wait
打开 IAM 并删除 EMREKSWorkshop-AWSLoadBalancerControllerIAMPolicy 策略
更多详细信息: