Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.26 KB

kusion_destroy.md

File metadata and controls

41 lines (28 loc) · 1.26 KB

kusion destroy

Destroy a configuration stack to resource(s) by work directory

Synopsis

Delete resources by resource spec.

Only KCL files are accepted. Only one type of arguments may be specified: filenames, resources and names, or resources and label selector.

Note that the destroy command does NOT do resource version checks, so if someone submits an update to a resource right when you submit a destroy, their update will be lost along with the rest of the resource.

kusion destroy [flags]

Examples

  # Delete the configuration of current stack
  kusion destroy

Options

  -D, --argument strings    Specify the arguments for compile KCL
  -d, --detail              Automatically show plan details after previewing it
  -h, --help                help for destroy
      --operator string     Specify the operator
  -O, --overrides strings   Specify the configuration override path and value
  -Y, --setting strings     Specify the command line setting files
  -w, --workdir string      Specify the work directory
  -y, --yes                 Automatically approve and perform the update after previewing it

SEE ALSO

  • kusion - kusion manages the Kubernetes cluster by code
Auto generated by spf13/cobra on 29-Apr-2022