gcloud_alpha_dataproc_clusters (1)
NAME
- gcloud alpha dataproc clusters - create and manage Google Cloud Dataproc clusters
SYNOPSIS
-
gcloud alpha dataproc clusters COMMAND [--region=REGION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Create and manage Google Cloud Dataproc clusters.
FLAGS
-
- --region=REGION
-
- Cloud Dataproc region to use. Each Cloud Dataproc region constitutes an independent resource namespace constrained to deploying instances into Compute Engine zones inside the region. The default value of global is a special multi-region namespace which is capable of deploying instances into all Compute Engine zones globally, and is disjoint from other Cloud Dataproc regions. Overrides the default dataproc/region property value for this command invocation.
- Cloud Dataproc region to use. Each Cloud Dataproc region constitutes an independent resource namespace constrained to deploying instances into Compute Engine zones inside the region. The default value of global is a special multi-region namespace which is capable of deploying instances into all Compute Engine zones globally, and is disjoint from other Cloud Dataproc regions. Overrides the default dataproc/region property value for this command invocation.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
-
- create
-
(ALPHA) Create a cluster.
- create-from-file
-
(ALPHA) Create a cluster from a file.
- delete
-
(ALPHA) Delete a cluster.
- describe
-
(ALPHA) View the details of a cluster.
- diagnose
-
(ALPHA) Run a detailed diagnostic on a cluster.
- export
-
(ALPHA) Export a cluster.
- get-iam-policy
-
(ALPHA) Get IAM policy for a cluster.
- import
-
(ALPHA) Import a cluster.
- list
-
(ALPHA) View a list of clusters in a project.
- set-iam-policy
-
(ALPHA) Set IAM policy for a cluster.
- update
-
(ALPHA) Update labels and/or the number of worker nodes in a cluster.
EXAMPLES
To create a cluster, run:
- $ gcloud alpha dataproc clusters create my_cluster
To resize a cluster, run:
- $ gcloud alpha dataproc clusters update my_cluster --num_workers 5
To delete a cluster, run:
- $ gcloud alpha dataproc clusters delete my_cluster
To view the details of a cluster, run:
- $ gcloud alpha dataproc clusters describe my_cluster
To see the list of all clusters, run:
- $ gcloud alpha dataproc clusters list
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support These variants are also available:
- $ gcloud dataproc clusters $ gcloud beta dataproc clusters