- NAME
-
- gcloud vmware private-clouds clusters create - create a Google Cloud VMware Engine cluster
- SYNOPSIS
-
-
gcloud vmware private-clouds clusters create
(CLUSTER
:--location
=LOCATION
--private-cloud
=PRIVATE_CLOUD
)--node-type-config
=[count
=COUNT
],[custom-core-count
=CUSTOM-CORE-COUNT
],[type
=TYPE
] [--async
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
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 vmware private-clouds clusters list
. - EXAMPLES
-
To create a cluster called
my-cluster
in private cloudmy-private-cloud
, with 3 initialstandard-72
nodes in zoneus-west2-a
, run:gcloud vmware private-clouds clusters create my-cluster --location=us-west2-a --project=my-project --private-cloud=my-private-cloud --node-type-config=type=standard-72,count=3
Or:
gcloud vmware private-clouds clusters create my-cluster --private-cloud=my-private-cloud --node-type-config=type=standard-72,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; -
provide the argument
--project
on the command line; -
set the property
core/project
.
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 argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--location
=LOCATION
-
Location 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
.
-
provide the argument
--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.
-
provide the argument
-
provide the argument
-
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.
- REQUIRED FLAGS
-
--node-type-config
=[count
=COUNT
],[custom-core-count
=CUSTOM-CORE-COUNT
],[type
=TYPE
]-
Information about the type and number of nodes associated with the cluster.
type (required): canonical identifier of the node type.
count (required): number of nodes of this type in the cluster.
custom-core-count (optional): customized number of cores available to each node of the type. To get a list of valid values for your node type, run the gcloud vmware node-types describe command and reference the availableCustomCoreCounts field in the output.
- OPTIONAL FLAGS
-
--async
-
Return immediately, without waiting for the operation in progress to complete.
The default is
True
. Enabled by default, use--no-async
to disable.
- 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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-30 UTC.