Skip to main content
Version: v0.11

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

      --backend string     The backend to use, supports 'local', 'oss' and 's3'.
-d, --detail Automatically show preview details after previewing it
-h, --help help for destroy
--no-style no-style sets to RawOutput mode and disables all of styling
--operator string Specify the operator
-w, --workdir string The work directory to run Kusion CLI.
--workspace string The name of target workspace to operate in.
-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 Internal Developer Platform
Auto generated by spf13/cobra on 29-Apr-2024