File: //snap/google-cloud-cli/396/help/man/man1/gcloud_vmware_private-clouds_clusters_update.1
.TH "GCLOUD_VMWARE_PRIVATE\-CLOUDS_CLUSTERS_UPDATE" 1
.SH "NAME"
.HP
gcloud vmware private\-clouds clusters update \- update a Google Cloud VMware Engine cluster
.SH "SYNOPSIS"
.HP
\f5gcloud vmware private\-clouds clusters update\fR (\fICLUSTER\fR\ :\ \fB\-\-location\fR=\fILOCATION\fR\ \fB\-\-private\-cloud\fR=\fIPRIVATE_CLOUD\fR) [\fB\-\-async\fR] [\fB\-\-node\-type\-config\fR=[[\fIcount\fR=\fICOUNT\fR],[\fItype\fR=\fITYPE\fR],...]] [\fB\-\-remove\-autoscaling\-policy\fR=\fINAME\fR] [\fB\-\-remove\-nodes\-config\fR=\fITYPE\fR] [\fB\-\-update\-nodes\-config\fR=[\fIcount\fR=\fICOUNT\fR],[\fItype\fR=\fITYPE\fR]] [\fB\-\-autoscaling\-settings\-from\-file\fR=\fIAUTOSCALING_SETTINGS_FROM_FILE\fR\ |\ \fB\-\-autoscaling\-cool\-down\-period\fR=\fIAUTOSCALING_COOL_DOWN_PERIOD\fR\ \fB\-\-autoscaling\-max\-cluster\-node\-count\fR=\fIAUTOSCALING_MAX_CLUSTER_NODE_COUNT\fR\ \fB\-\-autoscaling\-min\-cluster\-node\-count\fR=\fIAUTOSCALING_MIN_CLUSTER_NODE_COUNT\fR\ \fB\-\-update\-autoscaling\-policy\fR=[\fIconsumed\-memory\-thresholds\-scale\-in\fR=\fICONSUMED\-MEMORY\-THRESHOLDS\-SCALE\-IN\fR],[\fIconsumed\-memory\-thresholds\-scale\-out\fR=\fICONSUMED\-MEMORY\-THRESHOLDS\-SCALE\-OUT\fR],[\fIcpu\-thresholds\-scale\-in\fR=\fICPU\-THRESHOLDS\-SCALE\-IN\fR],[\fIcpu\-thresholds\-scale\-out\fR=\fICPU\-THRESHOLDS\-SCALE\-OUT\fR],[\fIgranted\-memory\-thresholds\-scale\-in\fR=\fIGRANTED\-MEMORY\-THRESHOLDS\-SCALE\-IN\fR],[\fIgranted\-memory\-thresholds\-scale\-out\fR=\fIGRANTED\-MEMORY\-THRESHOLDS\-SCALE\-OUT\fR],[\fImax\-node\-count\fR=\fIMAX\-NODE\-COUNT\fR],[\fImin\-node\-count\fR=\fIMIN\-NODE\-COUNT\fR],[\fIname\fR=\fINAME\fR],[\fInode\-type\-id\fR=\fINODE\-TYPE\-ID\fR],[\fIscale\-out\-size\fR=\fISCALE\-OUT\-SIZE\fR],[\fIstorage\-thresholds\-scale\-in\fR=\fISTORAGE\-THRESHOLDS\-SCALE\-IN\fR],[\fIstorage\-thresholds\-scale\-out\fR=\fISTORAGE\-THRESHOLDS\-SCALE\-OUT\fR]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Adjust the number of nodes in the VMware Engine cluster. Successful addition or
removal of a node results in a cluster in READY state. Check the progress of a
cluster using \f5gcloud vmware private\-clouds clusters list\fR.
.SH "EXAMPLES"
To resize a cluster called \f5my\-cluster\fR in private cloud
\f5my\-private\-cloud\fR and zone \f5us\-west2\-a\fR to have \f53\fR nodes of
type \f5standard\-72\fR, run:
.RS 2m
$ gcloud vmware private\-clouds clusters update my\-cluster \e
\-\-location=us\-west2\-a \-\-project=my\-project \e
\-\-private\-cloud=my\-private\-cloud \e
\-\-update\-nodes\-config=type=standard\-72,count=3
.RE
.RS 2m
Or:
.RE
.RS 2m
$ gcloud vmware private\-clouds clusters update my\-cluster \e
\-\-private\-cloud=my\-private\-cloud \e
\-\-update\-nodes\-config=type=standard\-72,count=3
.RE
.RS 2m
In the second example, the project and location are taken from gcloud properties core/project and compute/zone.
.RE
To enable autoscale in a cluster called \f5my\-cluster\fR in private cloud
\f5my\-private\-cloud\fR and zone \f5us\-west2\-a\fR, run:
.RS 2m
$ gcloud vmware private\-clouds clusters update my\-cluster \e
\-\-location=us\-west2\-a \-\-project=my\-project \e
\-\-private\-cloud=my\-private\-cloud \e
\-\-autoscaling\-min\-cluster\-node\-count=3 \e
\-\-autoscaling\-max\-cluster\-node\-count=5 \e
\-\-update\-autoscaling\-policy=name=custom\-policy,\e
node\-type\-id=standard\-72,scale\-out\-size=1,\e
storage\-thresholds\-scale\-in=10,storage\-thresholds\-scale\-out=80
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
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 \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5cluster\fR on the command line with a fully specified
name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fICLUSTER\fR
ID of the cluster or fully qualified identifier for the cluster.
To set the \f5cluster\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5cluster\fR on the command line.
.RE
.sp
This positional argument must be specified if any of the other arguments in this
group are specified.
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
Location of the private cloud or cluster.
To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5cluster\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-location\fR on the command line;
.IP "\(bu" 2m
set the property \f5compute/zone\fR.
.RE
.sp
.TP 2m
\fB\-\-private\-cloud\fR=\fIPRIVATE_CLOUD\fR
VMware Engine private cloud.
To set the \f5private\-cloud\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5cluster\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-private\-cloud\fR on the command line.
.RE
.sp
.RE
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-async\fR
Return immediately, without waiting for the operation in progress to complete.
The default is \fBTrue\fR. Enabled by default, use \fB\-\-no\-async\fR to
disable.
.TP 2m
\fB\-\-node\-type\-config\fR=[[\fIcount\fR=\fICOUNT\fR],[\fItype\fR=\fITYPE\fR],...]
(DEPRECATED) Information about the type and number of nodes associated with the
cluster.
.RS 2m
type (required): canonical identifier of the node type.
.RE
.RS 2m
count (required): number of nodes of this type in the cluster.
.RE
.RS 2m
custom_core_count: can be passed, but the value will be ignored. Updating custom core count is not supported.
.RE
The \-\-node\-type\-config option is deprecated; please use
\-\-update\-nodes\-config and \-\-remove\-nodes\-config instead.
.TP 2m
\fB\-\-remove\-autoscaling\-policy\fR=\fINAME\fR
Names of autoscaling policies that should be removed from the cluster
.TP 2m
\fB\-\-remove\-nodes\-config\fR=\fITYPE\fR
Type of node that should be removed from the cluster
.TP 2m
\fB\-\-update\-nodes\-config\fR=[\fIcount\fR=\fICOUNT\fR],[\fItype\fR=\fITYPE\fR]
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.
.TP 2m
At most one of these can be specified:
.RS 2m
.TP 2m
\fB\-\-autoscaling\-settings\-from\-file\fR=\fIAUTOSCALING_SETTINGS_FROM_FILE\fR
A YAML file containing the autoscaling settings to be applied to the cluster
.TP 2m
\fB\-\-autoscaling\-cool\-down\-period\fR=\fIAUTOSCALING_COOL_DOWN_PERIOD\fR
Cool down period (in minutes) between consecutive cluster
expansions/contractions
.TP 2m
\fB\-\-autoscaling\-max\-cluster\-node\-count\fR=\fIAUTOSCALING_MAX_CLUSTER_NODE_COUNT\fR
Maximum number of nodes in the cluster
.TP 2m
\fB\-\-autoscaling\-min\-cluster\-node\-count\fR=\fIAUTOSCALING_MIN_CLUSTER_NODE_COUNT\fR
Minimum number of nodes in the cluster
.TP 2m
\fB\-\-update\-autoscaling\-policy\fR=[\fIconsumed\-memory\-thresholds\-scale\-in\fR=\fICONSUMED\-MEMORY\-THRESHOLDS\-SCALE\-IN\fR],[\fIconsumed\-memory\-thresholds\-scale\-out\fR=\fICONSUMED\-MEMORY\-THRESHOLDS\-SCALE\-OUT\fR],[\fIcpu\-thresholds\-scale\-in\fR=\fICPU\-THRESHOLDS\-SCALE\-IN\fR],[\fIcpu\-thresholds\-scale\-out\fR=\fICPU\-THRESHOLDS\-SCALE\-OUT\fR],[\fIgranted\-memory\-thresholds\-scale\-in\fR=\fIGRANTED\-MEMORY\-THRESHOLDS\-SCALE\-IN\fR],[\fIgranted\-memory\-thresholds\-scale\-out\fR=\fIGRANTED\-MEMORY\-THRESHOLDS\-SCALE\-OUT\fR],[\fImax\-node\-count\fR=\fIMAX\-NODE\-COUNT\fR],[\fImin\-node\-count\fR=\fIMIN\-NODE\-COUNT\fR],[\fIname\fR=\fINAME\fR],[\fInode\-type\-id\fR=\fINODE\-TYPE\-ID\fR],[\fIscale\-out\-size\fR=\fISCALE\-OUT\-SIZE\fR],[\fIstorage\-thresholds\-scale\-in\fR=\fISTORAGE\-THRESHOLDS\-SCALE\-IN\fR],[\fIstorage\-thresholds\-scale\-out\fR=\fISTORAGE\-THRESHOLDS\-SCALE\-OUT\fR]
Autoscaling policy to be applied to the cluster
.RE
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.