Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. List all services running in your cluster.

    Code Block
    kubectl get svc --all-namespaces
  2. Delete any services that have an associated EXTERNAL-IPvalue. These services are fronted by an Elastic Load Balancing load balancer, and you must delete them in Kubernetes to allow the load balancer and associated resources to be properly released.

    Code Block
    kubectl delete svc service-name
  3. Delete the load balancer from AWS console.

  4. Delete the cluster and its associated nodes with the following command,

    Code Block
    eksctl delete cluster --name HiveMQCluster  --region eu-west-1

...