tanzu workload apply

Apply a workload of 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
  -v, --verbose int32     number for the log level verbosity (default 1)

SEE ALSO

check-circle-line exclamation-circle-line close-line
Scroll to top icon