Skip to content

mvaictl workload delete

Delete the given workload and its owners (Workspace, Job, etc.)

Synopsis

If the workload has associated owners, the command will prompt for deletion approval of the affected owners, and delete them. The workload will then be asynchronously deleted by the garbage collector. If there are no associated owners, the command will directly delete the workload.

mvaictl workload delete [NAME]... [flags]

Examples

  # Delete a workload
  mvaictl workload delete my-workload

  # Delete all workloads in the current project
  mvaictl workload delete --all

Options

      --all              Delete all Workloads, in the current project.
  -A, --all-projects     If present, delete the requested object(s) across all projects. Project in current context is ignored.
      --dry-run string   Must be "none", "server", or "client". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource. (default "none")
  -h, --help             help for delete
  -y, --yes              Automatic yes to the prompt for deleting the workload.

Options inherited from parent commands

  -c, --config string        Path to mvaictl config directory (default "~/.mvaictl")
      --warnings-as-errors   Treat warnings received from the server as errors and exit with a non-zero exit code

SEE ALSO