Skip to main content
Version: v0.10

kusion destroy

Destroy resources within the stack.

Synopsis​

Destroy resources within the stack.

Please note that the destroy command does NOT perform resource version checks. Therefore, if someone submits an update to a resource at the same time you execute a destroy command, their update will be lost along with the rest of the resource.

kusion destroy [flags]

Examples​

  # Delete resources of current stack
kusion destroy

Options​

  -D, --argument stringToString   Specify the top-level argument (default [])
-C, --backend-config strings backend-config config state storage backend
--backend-type string backend-type specify state storage backend
-d, --detail Automatically show plan details after previewing it
-h, --help help for destroy
--operator string Specify the operator
-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

Options inherited from parent commands​

      --profile string          Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex) (default "none")
--profile-output string Name of the file to write the profile to (default "profile.pprof")

SEE ALSO​

  • kusion - Kusion is the Platform Orchestrator of KusionStack
Auto generated by spf13/cobra on 4-Jan-2024​