mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
88 lines
1.7 KiB
Text
88 lines
1.7 KiB
Text
NAME
|
|
gcloud dataproc clusters - create and manage Dataproc clusters
|
|
|
|
SYNOPSIS
|
|
gcloud dataproc clusters GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Create and manage Dataproc clusters.
|
|
|
|
EXAMPLES
|
|
To create a cluster, run:
|
|
|
|
$ gcloud dataproc clusters create my-cluster --region=us-central1
|
|
|
|
To resize a cluster, run:
|
|
|
|
$ gcloud dataproc clusters update my-cluster --region=us-central1 \
|
|
--num-workers 5
|
|
|
|
To delete a cluster, run:
|
|
|
|
$ gcloud dataproc clusters delete my-cluster --region=us-central1
|
|
|
|
To view the details of a cluster, run:
|
|
|
|
$ gcloud dataproc clusters describe my-cluster --region=us-central1
|
|
|
|
To see the list of all clusters, run:
|
|
|
|
$ gcloud dataproc clusters list
|
|
|
|
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:
|
|
|
|
$ gcloud alpha dataproc clusters
|
|
|
|
$ gcloud beta dataproc clusters
|
|
|