gcloud dataproc workflow-templates Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud dataproc workflow-templates - create and manage Dataproc workflow templates
- SYNOPSIS
gcloud dataproc workflow-templatesGROUP|COMMAND[GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- Create and manage Dataproc workflow templates.
- EXAMPLES
- To create a workflow template, run:
gclouddataprocworkflow-templatescreatemy_templateTo instantiate a workflow template, run:
gclouddataprocworkflow-templatesinstantiatemy_templateTo instantiate a workflow template from a file, run:
gclouddataprocworkflow-templatesinstantiate-from-file--filetemplate.yamlTo delete a workflow template, run:
gclouddataprocworkflow-templatesdeletemy_templateTo view the details of a workflow template, run:
gclouddataprocworkflow-templatesdescribemy_templateTo see the list of all workflow templates, run:
gclouddataprocworkflow-templateslistTo remove a job from a workflow template, run:
gclouddataprocworkflow-templatesremove-jobmy_template--step-ididTo update managed cluster in a workflow template, run:
gclouddataprocworkflow-templatesset-managed-clustermy_template--num-masters5To update cluster selector in a workflow template, run:
gclouddataprocworkflow-templatesset-cluster-selectormy_template--cluster-labelsenvironment=prod - GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$gcloud helpfor details. - GROUPS
is one of the following:GROUPadd-job- Add Dataproc jobs to workflow template.
- COMMANDS
is one of the following:COMMANDcreate- Create a workflow template.
delete- Delete a workflow template.
describe- Describe a workflow template.
export- Export a workflow template.
get-iam-policy- Get IAM policy for a workflow template.
import- Import a workflow template.
instantiate- Instantiate a workflow template.
instantiate-from-file- Instantiate a workflow template from a file.
list- List workflow templates.
remove-dag-timeout- Remove DAG timeout from a workflow template.
remove-job- Remove a job from workflow template.
set-cluster-selector- Set cluster selector for the workflow template.
set-dag-timeout- Set DAG timeout on a workflow template.
set-iam-policy- Set IAM policy for a template.
set-managed-cluster- Set a managed cluster for the workflow template.
- NOTES
- These variants are also available:
gcloudalphadataprocworkflow-templatesgcloudbetadataprocworkflow-templates
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.