HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/396/help/man/man1/gcloud_container_azure_node-pools_create.1
.TH "GCLOUD_CONTAINER_AZURE_NODE\-POOLS_CREATE" 1



.SH "NAME"
.HP
gcloud container azure node\-pools create \- create a node pool in an Anthos cluster on Azure



.SH "SYNOPSIS"
.HP
\f5gcloud container azure node\-pools create\fR (\fINODE_POOL\fR\ :\ \fB\-\-cluster\fR=\fICLUSTER\fR\ \fB\-\-location\fR=\fILOCATION\fR) \fB\-\-max\-pods\-per\-node\fR=\fIMAX_PODS_PER_NODE\fR \fB\-\-node\-version\fR=\fINODE_VERSION\fR \fB\-\-ssh\-public\-key\fR=\fISSH_PUBLIC_KEY\fR \fB\-\-subnet\-id\fR=\fISUBNET_ID\fR (\fB\-\-max\-nodes\fR=\fIMAX_NODES\fR\ \fB\-\-min\-nodes\fR=\fIMIN_NODES\fR) [\fB\-\-annotations\fR=\fIANNOTATION\fR,[\fIANNOTATION\fR,...]] [\fB\-\-async\fR] [\fB\-\-azure\-availability\-zone\fR=\fIAZURE_AVAILABILITY_ZONE\fR] [\fB\-\-config\-encryption\-key\-id\fR=\fICONFIG_ENCRYPTION_KEY_ID\fR] [\fB\-\-config\-encryption\-public\-key\fR=\fICONFIG_ENCRYPTION_PUBLIC_KEY\fR] [\fB\-\-enable\-autorepair\fR] [\fB\-\-node\-labels\fR=\fINODE_LABEL\fR,[\fINODE_LABEL\fR,...]] [\fB\-\-node\-taints\fR=\fINODE_TAINT\fR,[\fINODE_TAINT\fR,...]] [\fB\-\-root\-volume\-size\fR=\fIROOT_VOLUME_SIZE\fR] [\fB\-\-tags\fR=\fITAG\fR,[\fITAG\fR,...]] [\fB\-\-validate\-only\fR] [\fB\-\-vm\-size\fR=\fIVM_SIZE\fR] [\fB\-\-proxy\-resource\-group\-id\fR=\fIPROXY_RESOURCE_GROUP_ID\fR\ \fB\-\-proxy\-secret\-id\fR=\fIPROXY_SECRET_ID\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

\fB(DEPRECATED)\fR Create a node pool in an Anthos cluster on Azure.

This command is deprecated. See
https://cloud.google.com/kubernetes\-engine/multi\-cloud/docs/azure/deprecations/deprecation\-announcement
for more details.



.SH "EXAMPLES"

To create a node pool named \f5\fImy\-node\-pool\fR\fR in a cluster named
\f5\fImy\-cluster\fR\fR managed in location \f5\fIus\-west1\fR\fR, run:

.RS 2m
$ gcloud container azure node\-pools create my\-node\-pool \e
    \-\-cluster=my\-cluster \-\-location=us\-west1 \e
    \-\-node\-version=NODE_VERSION \-\-ssh\-public\-key=SSH_PUBLIC_KEY \e
    \-\-subnet\-id=SUBNET_ID
.RE



.SH "POSITIONAL ARGUMENTS"

.RS 2m
.TP 2m

Nodepool resource \- node pool to create. 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 \f5node_pool\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
\fINODE_POOL\fR

ID of the nodepool or fully qualified identifier for the nodepool.

To set the \f5nodepool\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5node_pool\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\-\-cluster\fR=\fICLUSTER\fR

cluster of the nodepool.

To set the \f5cluster\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5node_pool\fR on the command line with a fully specified
name;
.IP "\(bu" 2m
provide the argument \f5\-\-cluster\fR on the command line.
.RE
.sp

.TP 2m
\fB\-\-location\fR=\fILOCATION\fR

Google Cloud location for the nodepool.

To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5node_pool\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 \f5container_azure/location\fR.
.RE
.sp


.RE
.RE
.sp

.SH "REQUIRED FLAGS"

.RS 2m
.TP 2m
\fB\-\-max\-pods\-per\-node\fR=\fIMAX_PODS_PER_NODE\fR

Maximum number of pods per node.

.TP 2m
\fB\-\-node\-version\fR=\fINODE_VERSION\fR

Kubernetes version to use for the node pool.

.TP 2m
\fB\-\-ssh\-public\-key\fR=\fISSH_PUBLIC_KEY\fR

SSH public key to use for authentication.

.TP 2m
\fB\-\-subnet\-id\fR=\fISUBNET_ID\fR

Subnet ID of an existing VNET to use for the node pool.

.TP 2m

Node pool autoscaling

This must be specified.


.RS 2m
.TP 2m
\fB\-\-max\-nodes\fR=\fIMAX_NODES\fR

Maximum number of nodes in the node pool.

This flag argument must be specified if any of the other arguments in this group
are specified.

.TP 2m
\fB\-\-min\-nodes\fR=\fIMIN_NODES\fR

Minimum number of nodes in the node pool.

This flag argument must be specified if any of the other arguments in this group
are specified.


.RE
.RE
.sp

.SH "OPTIONAL FLAGS"

.RS 2m
.TP 2m
\fB\-\-annotations\fR=\fIANNOTATION\fR,[\fIANNOTATION\fR,...]

Annotations for the node pool.

.TP 2m
\fB\-\-async\fR

Return immediately, without waiting for the operation in progress to complete.

.TP 2m
\fB\-\-azure\-availability\-zone\fR=\fIAZURE_AVAILABILITY_ZONE\fR

Azure availability zone where the node pool will be created.

.TP 2m
\fB\-\-config\-encryption\-key\-id\fR=\fICONFIG_ENCRYPTION_KEY_ID\fR

URL the of the Azure Key Vault key (with its version) to use to encrypt /
decrypt config data.

.TP 2m
\fB\-\-config\-encryption\-public\-key\fR=\fICONFIG_ENCRYPTION_PUBLIC_KEY\fR

RSA key of the Azure Key Vault public key to use for encrypting config data.

.TP 2m
\fB\-\-enable\-autorepair\fR

Enable node autorepair feature for a node pool. Use \-\-no\-enable\-autorepair
to disable.

.RS 2m
$ gcloud container azure node\-pools create \-\-enable\-autorepair
.RE

Node autorepair is disabled by default.

.TP 2m
\fB\-\-node\-labels\fR=\fINODE_LABEL\fR,[\fINODE_LABEL\fR,...]

Labels assigned to the node pool's nodes.

.TP 2m
\fB\-\-node\-taints\fR=\fINODE_TAINT\fR,[\fINODE_TAINT\fR,...]

Taints assigned to nodes of the node pool. Node taint is of format
key=value:effect. Effect must be one of: NoExecute, NoSchedule,
PreferNoSchedule.

.TP 2m
\fB\-\-root\-volume\-size\fR=\fIROOT_VOLUME_SIZE\fR

Size of the root volume. The value must be a whole number followed by a size
unit of \f5GB\fR for gigabyte, or \f5TB\fR for terabyte. If no size unit is
specified, GB is assumed.

.TP 2m
\fB\-\-tags\fR=\fITAG\fR,[\fITAG\fR,...]

Applies the given tags (comma separated) on the node pool. Example:

.RS 2m
$ gcloud container azure node\-pools create EXAMPLE_NODE_POOL \e
    \-\-tags=tag1=one,tag2=two
.RE

.TP 2m
\fB\-\-validate\-only\fR

Validate the creation of the node pool, but don't actually perform it.

.TP 2m
\fB\-\-vm\-size\fR=\fIVM_SIZE\fR

Azure Virtual Machine Size (e.g. Standard_DS1_v).

.TP 2m

Proxy config


.RS 2m
.TP 2m
\fB\-\-proxy\-resource\-group\-id\fR=\fIPROXY_RESOURCE_GROUP_ID\fR

The ARM ID the of the resource group containing proxy keyvault.

This flag argument must be specified if any of the other arguments in this group
are specified.

.TP 2m
\fB\-\-proxy\-secret\-id\fR=\fIPROXY_SECRET_ID\fR

The URL the of the proxy setting secret with its version.

This flag argument must be specified if any of the other arguments in this group
are specified.


.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.



.SH "NOTES"

This variant is also available:

.RS 2m
$ gcloud alpha container azure node\-pools create
.RE