Uninstallation

Remove the components installed during this workshop:

  1. Kubecost
helm uninstall kubecost -n kubecost
  1. AWS Load Balancer Controller
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 $CLUSTER_NAME --name aws-load-balancer-controller --namespace kube-system

aws iam delete-policy --policy-arn arn:aws:iam::${ACCOUNT_ID}:policy/AWSLoadBalancerControllerIAMPolicy
  1. AWS EBS CSI Driver
eksctl delete addon --name aws-ebs-csi-driver --cluster $CLUSTER_NAME

eksctl delete iamserviceaccount --cluster $CLUSTER_NAME --name ebs-csi-controller-sa --namespace kube-system
  1. Kyverno
helm uninstall kyverno kyverno/kyverno -n kyverno