Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.44 KB

File metadata and controls

41 lines (29 loc) · 1.44 KB

coconut environment destroy

destroy an environment

Synopsis

The environment destroy command instructs AliECS to teardown an existing O² environment. The environment must be in the CONFIGURED or STANDBY state.

By default, all active tasks are killed unless the keep-tasks flag is passed, in which case all tasks are left idle.

coconut environment destroy [environment id] [flags]

Options

  -a, --allow-in-running-state   allows destroying an environment while in Running state
  -f, --force                    force destroy of an environment
  -h, --help                     help for destroy
  -k, --keep-tasks               keep tasks active after destroying the environment

Options inherited from parent commands

      --config string            optional configuration file for coconut (default $HOME/.config/coconut/settings.yaml)
      --config_endpoint string   configuration endpoint used by AliECS core as PROTO://HOST:PORT (default "apricot://127.0.0.1:32101")
      --endpoint string          AliECS core endpoint as HOST:PORT (default "127.0.0.1:32102")
      --nocolor                  disable colors in output
      --nospinner                disable animations in output
  -v, --verbose                  show verbose output for debug purposes

SEE ALSO

Auto generated by spf13/cobra on 27-Nov-2024