tanzu workload delete

This topic gives you command-specific information for the Tanzu Supply Chain CLI.

Synopsis

Delete a workload by name within a namespace. Deleting a workload prevents new builds while preserving built images in the registry.

tanzu workload delete [NAME] [flags]

Examples

tanzu workload delete NAME
  tanzu workload delete NAME --kind kindname
  tanzu workload delete NAME --kind kindname --namespace default
  tanzu workload delete --file workload.yaml

Options

  -f, --file file path   file path containing the description of a single workload, other flags are layered on top of this resource. Use value "-" to read from stdin
  -h, --help             help for delete
  -k, --kind string      kind of the workload specification
  -n, --namespace name   kubernetes namespace (defaulted from kube config)
  -y, --yes              accept all prompts

Options inherited from parent commands

      --kubeconfig file   kubeconfig file (default is $HOME/.kube/config)
      --no-color          deactivate color, bold, animations, and emoji output

See also

  • tanzu workload is for creating, updating, viewing, and listing Tanzu Workloads
check-circle-line exclamation-circle-line close-line
Scroll to top icon