- 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:
gcloud dataproc clusters create my-cluster --region = us-central1To resize a cluster, run:
gcloud dataproc clusters update my-cluster --region = us-central1 --num-workers 5To delete a cluster, run:
gcloud dataproc clusters delete my-cluster --region = us-central1To view the details of a cluster, run:
gcloud dataproc clusters describe my-cluster --region = us-central1To see the list of all clusters, run:
gcloud dataproc clusters list - GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - GROUPS
-
is one of the following:GROUP-
gke - Create Dataproc GKE-based virtual clusters.
-
- COMMANDS
-
is one of the following:COMMAND-
create - 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:
gcloud alpha dataproc clustersgcloud beta dataproc clusters
gcloud dataproc clusters
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.

