1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 18:45:13 +00:00
gcloud-help/gcloud/alpha/vmware/clusters/create
2022-03-01 04:29:52 +00:00

111 lines
4.4 KiB
Text

NAME
gcloud alpha vmware clusters create - create a Google Cloud VMware Engine
cluster
SYNOPSIS
gcloud alpha vmware clusters create
(CLUSTER : --location=LOCATION --private-cloud=PRIVATE_CLOUD)
--node-count=NODE_COUNT --node-type=NODE_TYPE
[--labels=[KEY=VALUE,...]] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Create a cluster in a VMware Engine private cloud. Successful
creation of a cluster results in a cluster in READY state. Check the
progress of a cluster using gcloud alpha vmware clusters list.
EXAMPLES
To create a cluster called my-cluster in private cloud my-private-cloud,
with 3 initial standard-72 nodes in zone us-west2-a, run:
$ gcloud alpha vmware clusters create my-cluster \
--location=us-west2-a --project=my-project \
--private-cloud=my-private-cloud --node-type=standard-72 \
--node-count=3
Or:
$ gcloud alpha vmware clusters create my-cluster \
--private-cloud=my-private-cloud --node-type=standard-72 \
--node-count=3
In the second example, the project and location are taken from gcloud properties core/project and compute/zone.
POSITIONAL ARGUMENTS
Cluster resource - cluster. The arguments in this group can be used to
specify the attributes of this resource. (NOTE) Some attributes are not
given arguments in this group but can be set in other ways. To set the
project attribute:
◆ provide the argument cluster on the command line with a fully
specified name;
◆ set the property core/project;
◆ provide the argument --project on the command line.
This must be specified.
CLUSTER
ID of the cluster or fully qualified identifier for the cluster. To
set the cluster attribute:
▸ provide the argument cluster on the command line.
This positional must be specified if any of the other arguments in
this group are specified.
--location=LOCATION
Zone of the private cloud or cluster. To set the location attribute:
▸ provide the argument cluster on the command line with a fully
specified name;
▸ provide the argument --location on the command line;
▸ set the property compute/zone.
--private-cloud=PRIVATE_CLOUD
VMware Engine private cloud. To set the private-cloud attribute:
▸ provide the argument cluster on the command line with a fully
specified name;
▸ provide the argument --private-cloud on the command line.
REQUIRED FLAGS
--node-count=NODE_COUNT
Nodes count for cluster
Node type resource - node_type. This represents a Cloud resource. (NOTE)
Some attributes are not given arguments in this group but can be set in
other ways. To set the project attribute:
◆ provide the argument --node-type on the command line with a fully
specified name;
◆ set the property core/project;
◆ provide the argument --project on the command line. To set the
location attribute:
◆ provide the argument --node-type on the command line with a fully
specified name;
◆ set the property compute/zone.
This must be specified.
--node-type=NODE_TYPE
ID of the node type or fully qualified identifier for the node type.
To set the node-type attribute:
▸ provide the argument --node-type on the command line.
OPTIONAL FLAGS
--labels=[KEY=VALUE,...]
List of label KEY=VALUE pairs to add.
Keys must start with a lowercase character and contain only hyphens
(-), underscores (_), lowercase characters, and numbers. Values must
contain only hyphens (-), underscores (_), lowercase characters, and
numbers.
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.