tanzu workload create

Create a workload of specific kind on the cluster from the file

tanzu workload create [NAME] [flags]

Examples

tanzu workload create --file workload.yaml
  tanzu workload create 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 create
  -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

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