eks_delete_cluster: Deletes the Amazon EKS cluster control plane
Description
Deletes the Amazon EKS cluster control plane.
Usage
eks_delete_cluster(name)
Arguments
name
[required] The name of the cluster to delete.
Request syntax
svc$delete_cluster(
name = "string"
)
Details
If you have active services in your cluster that are associated with a
load balancer, you must delete those services before deleting the
cluster so that the load balancers are deleted properly. Otherwise, you
can have orphaned resources in your VPC that prevent you from being able
to delete the VPC. For more information, see Deleting a Cluster
in the Amazon EKS User Guide.
# NOT RUN {# This example command deletes a cluster named `devel` in your default# region.# }# NOT RUN {svc$delete_cluster(
name = "devel")
# }# NOT RUN {# }