Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.33 KB

kops_delete_cluster.md

File metadata and controls

46 lines (31 loc) · 1.33 KB

kops delete cluster

Delete a cluster.

Synopsis

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]

Examples

  # Delete a cluster.
  # The --yes option runs the command immediately.
  kops delete cluster --name=k8s.cluster.site --yes

Options

      --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.