Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.47 KB

tanzu_apps_workload_delete.md

File metadata and controls

42 lines (31 loc) · 1.47 KB

Tanzu apps workload delete

This topic will help you delete one or more workloads by name or all workloads within a namespace.

Deleting a workload prevents new builds while preserving built images in the registry.

tanzu apps workload delete <name(s)> [flags]

Examples

tanzu apps workload delete my-workload
tanzu apps workload delete --all

Options

      --all                     delete all workloads within the namespace
  -f, --file file path          file path containing the description of a single workload, other flags are layered on top of this resource
  -h, --help                    help for delete
  -n, --namespace name          kubernetes namespace (defaulted from kube config)
      --wait                    waits for workload to be deleted
      --wait-timeout duration   timeout for workload to be deleted when waiting (default 1m0s)
  -y, --yes                     accept all prompts

Options inherited from parent commands

      --context name      name of the kubeconfig context to use (default is current-context defined by kubeconfig)
      --kubeconfig file   kubeconfig file (default is $HOME/.kube/config)
      --no-color          disable color output in terminals
  -v, --verbose int32     number for the log level verbosity (default 1)

See also