gcloud dataproc clusters Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud dataproc clusters - create and manage Dataproc clusters
- SYNOPSIS
gcloud dataproc clustersGROUP|COMMAND[GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- Create and manage Dataproc clusters.
- EXAMPLES
- To create a cluster, run:
gclouddataprocclusterscreatemy-cluster--region=us-central1To resize a cluster, run:
gclouddataprocclustersupdatemy-cluster--region=us-central1--num-workers5To delete a cluster, run:
gclouddataprocclustersdeletemy-cluster--region=us-central1To view the details of a cluster, run:
gclouddataprocclustersdescribemy-cluster--region=us-central1To see the list of all clusters, run:
gclouddataprocclusterslist - GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$gcloud helpfor details. - GROUPS
is one of the following:GROUPgke- Create Dataproc GKE-based virtual clusters.
- COMMANDS
is one of the following:COMMANDcreate- Create a cluster.
delete- Delete a cluster.
describe- View the details of a cluster.
diagnose- Run a detailed diagnostic on a cluster.
export- Export a cluster.
get-iam-policy- Get IAM policy for a cluster.
import- Import a cluster.
list- View a list of clusters in a project.
set-iam-policy- Set IAM policy for a cluster.
start- Start a cluster.
stop- Stop a cluster.
update- Update labels and/or the number of worker nodes in a cluster.
- NOTES
- These variants are also available:
gcloudalphadataprocclustersgcloudbetadataprocclusters
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-09-16 UTC.