File: //snap/google-cloud-cli/current/help/man/man1/gcloud_dataproc_clusters.1
.TH "GCLOUD_DATAPROC_CLUSTERS" 1
.SH "NAME"
.HP
gcloud dataproc clusters \- create and manage Dataproc clusters
.SH "SYNOPSIS"
.HP
\f5gcloud dataproc clusters\fR \fIGROUP\fR | \fICOMMAND\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Create and manage Dataproc clusters.
.SH "EXAMPLES"
To create a cluster, run:
.RS 2m
$ gcloud dataproc clusters create my\-cluster \-\-region=us\-central1
.RE
To resize a cluster, run:
.RS 2m
$ gcloud dataproc clusters update my\-cluster \-\-region=us\-central1 \e
\-\-num\-workers 5
.RE
To delete a cluster, run:
.RS 2m
$ gcloud dataproc clusters delete my\-cluster \-\-region=us\-central1
.RE
To view the details of a cluster, run:
.RS 2m
$ gcloud dataproc clusters describe my\-cluster \-\-region=us\-central1
.RE
To see the list of all clusters, run:
.RS 2m
$ gcloud dataproc clusters list
.RE
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-help.
Run \fB$ gcloud help\fR for details.
.SH "GROUPS"
\f5\fIGROUP\fR\fR is one of the following:
.RS 2m
.TP 2m
\fBgke\fR
Create Dataproc GKE\-based virtual clusters.
.RE
.sp
.SH "COMMANDS"
\f5\fICOMMAND\fR\fR is one of the following:
.RS 2m
.TP 2m
\fBcreate\fR
Create a cluster.
.TP 2m
\fBdelete\fR
Delete a cluster.
.TP 2m
\fBdescribe\fR
View the details of a cluster.
.TP 2m
\fBdiagnose\fR
Run a detailed diagnostic on a cluster.
.TP 2m
\fBexport\fR
Export a cluster.
.TP 2m
\fBget\-iam\-policy\fR
Get IAM policy for a cluster.
.TP 2m
\fBimport\fR
Import a cluster.
.TP 2m
\fBlist\fR
View a list of clusters in a project.
.TP 2m
\fBset\-iam\-policy\fR
Set IAM policy for a cluster.
.TP 2m
\fBstart\fR
Start a cluster.
.TP 2m
\fBstop\fR
Stop a cluster.
.TP 2m
\fBupdate\fR
Update labels and/or the number of worker nodes in a cluster.
.RE
.sp
.SH "NOTES"
These variants are also available:
.RS 2m
$ gcloud alpha dataproc clusters
.RE
.RS 2m
$ gcloud beta dataproc clusters
.RE