mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
50 lines
1.7 KiB
Text
50 lines
1.7 KiB
Text
NAME
|
|
gcloud alpha dataproc clusters create-from-file - create a cluster from a
|
|
file
|
|
|
|
SYNOPSIS
|
|
gcloud alpha dataproc clusters create-from-file --file=FILE [--async]
|
|
[--region=REGION] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) Create a cluster from a file.
|
|
|
|
EXAMPLES
|
|
To create a cluster from a YAML file, run:
|
|
|
|
$ gcloud alpha dataproc clusters create-from-file --file=cluster.yaml
|
|
|
|
REQUIRED FLAGS
|
|
--file=FILE
|
|
The path to a YAML file containing a Dataproc Cluster resource.
|
|
|
|
For more information, see:
|
|
https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.clusters#Cluster.
|
|
|
|
OPTIONAL FLAGS
|
|
--async
|
|
Return immediately, without waiting for the operation in progress to
|
|
complete.
|
|
|
|
--region=REGION
|
|
Dataproc region to use. Each Dataproc region constitutes an independent
|
|
resource namespace constrained to deploying instances into Compute
|
|
Engine zones inside the region. Overrides the default dataproc/region
|
|
property value for this command invocation.
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --access-token-file, --account,
|
|
--billing-project, --configuration, --flags-file, --flatten, --format,
|
|
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
|
--trace-token, --user-output-enabled, --verbosity.
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
NOTES
|
|
This command is currently in alpha and might change without notice. If this
|
|
command fails with API permission errors despite specifying the correct
|
|
project, you might be trying to access an API with an invitation-only early
|
|
access allowlist. This variant is also available:
|
|
|
|
$ gcloud beta dataproc clusters create-from-file
|
|
|