gcloud beta dataproc clusters - create and manage Dataproc clusters
gcloud beta dataproc clusters GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
(BETA) Create and manage Dataproc clusters.
To create a cluster, run:
$ gcloud beta dataproc clusters create my-cluster \ --region=us-central1
To resize a cluster, run:
$ gcloud beta dataproc clusters update my-cluster \ --region=us-central1 --num_workers 5
To delete a cluster, run:
$ gcloud beta dataproc clusters delete my-cluster \ --region=us-central1
To view the details of a cluster, run:
$ gcloud beta dataproc clusters describe my-cluster \ --region=us-central1
To see the list of all clusters, run:
$ gcloud beta dataproc clusters list
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUP is one of the following:
- gke
(BETA) Create Dataproc GKE-based virtual clusters.
COMMAND is one of the following:
- create
(BETA) Create a cluster.
- create-from-file
(BETA) Create a cluster from a file.
- delete
(BETA) Delete a cluster.
- describe
(BETA) View the details of a cluster.
- diagnose
(BETA) Run a detailed diagnostic on a cluster.
- export
(BETA) Export a cluster.
- get-iam-policy
(BETA) Get IAM policy for a cluster.
- import
(BETA) Import a cluster.
- list
(BETA) View a list of clusters in a project.
- set-iam-policy
(BETA) Set IAM policy for a cluster.
- start
(BETA) Start a cluster.
- stop
(BETA) Stop a cluster.
- update
(BETA) Update labels and/or the number of worker nodes in a cluster.
This command is currently in beta and might change without notice. These variants are also available:
$ gcloud dataproc clusters
$ gcloud alpha dataproc clusters