Skip to content

kops delete

kops delete

Delete clusters, instancegroups, instances, and secrets.

kops delete {-f FILENAME}... [flags]


  # Delete a cluster using a manifest file
  kops delete -f my-cluster.yaml

  # Delete a cluster using a pasted manifest file from stdin.
  pbpaste | kops delete -f -


  -f, --filename strings   Filename to use to delete the resource
  -h, --help               help for delete
  -y, --yes                Specify --yes to immediately delete the resource

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