Kops delete cluster
kops delete cluster ¶
Delete a cluster.
Deletes a Kubernetes cluster and all associated resources. Resources include instancegroups, secrets, and the state store. There is no "UNDO" for this command.
kops delete cluster [CLUSTER] [flags]
# Delete a cluster. # The --yes option runs the command immediately. kops delete cluster --name=k8s.cluster.site --yes
--external Delete an external cluster -h, --help help for cluster --region string External cluster's cloud region --unregister Don't delete cloud resources, just unregister the cluster -y, --yes Specify --yes to delete the cluster
Options inherited from parent commands ¶
--config string yaml config file (default is $HOME/.kops.yaml) --name string Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable --state string Location of state storage (kops 'config' file). Overrides KOPS_STATE_STORE environment variable -v, --v Level number for the log level verbosity
SEE ALSO ¶
- kops delete - Delete clusters, instancegroups, instances, and secrets.