tanzu workload apply

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

Synopsis

Apply a workload of a specific kind on the cluster from the file.

tanzu workload apply [NAME] [flags]

Examples

tanzu workload apply --file workload.yaml
  tanzu workload apply my-workload --file workload.yaml --namespace my-namespace

Options

  -f, --file string      file that contains the workload manifest. Can also be a URL (default "workload.yaml")
  -h, --help             help for apply
  -n, --namespace name   kubernetes namespace (defaulted from kube config)
  -o, --output string    output of the active workload run along with the status in selected format. Supported formats: "json", "yaml", "yml"
  -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 for creating, updating, viewing, and listing Tanzu Workloads.
check-circle-line exclamation-circle-line close-line
Scroll to top icon