gcloud dataproc clusters

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-central1

To resize a cluster, run:

gclouddataprocclustersupdatemy-cluster--region=us-central1--num-workers5

To delete a cluster, run:

gclouddataprocclustersdeletemy-cluster--region=us-central1

To view the details of a cluster, run:

gclouddataprocclustersdescribemy-cluster--region=us-central1

To see the list of all clusters, run:

gclouddataprocclusterslist
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

GROUPS
GROUP is one of the following:
gke
Create Dataproc GKE-based virtual clusters.
COMMANDS
COMMAND is one of the following:
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:
gcloudalphadataprocclusters
gcloudbetadataprocclusters

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.