Destroy a configuration stack to resource(s) by work directory
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]
# Delete the configuration of current stack
kusion destroy
-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
- kusion - kusion manages the Kubernetes cluster by code