CmdID

CmdID / az / az aks / az aks nodepool

az aks nodepool add

Add a node pool to the managed Kubernetes cluster. Azure CLI reference

60 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

60 in the Azure CLI reference
Show its 60 options
--aks-custom-headersComma-separated key-value pairs to specify custom headers.
--allowed-host-portsExpose host ports on the node pool.
--asg-idsThe IDs of the application security groups to which the node pool's network interface should belong.
--crg-idThe crg id used to associate the new nodepool with the existed Capacity Reservation Group resource.
--disable-windows-outbound-natDisable Windows OutboundNAT on Windows agent node pool.
--drain-timeoutWhen nodes are drain how many minutes to wait for all pods to be evicted
--enable-artifact-streamingEnable artifact streaming for VirtualMachineScaleSets managed by a node pool, to speed up the cold-start of containers on a node through on-demand image loading.
--enable-cluster-autoscaler, -eEnable cluster autoscaler.
--enable-encryption-at-hostEnable EncryptionAtHost, default value is false.
--enable-fips-imageUse FIPS-enabled OS on agent nodes.
--enable-managed-dranetEnable or disable Managed DRANET on the node pool.
--enable-managed-gpuEnable the Managed GPU experience, which installs additional components like DCGM metrics for monitoring on top of the GPU driver.
--enable-node-public-ipEnable VMSS or VMs node public IP.
--enable-secure-bootEnable Secure Boot on agent node pool.
--enable-ultra-ssdEnable UltraSSD, default value is false.
--enable-vtpmEnable vTPM on agent node pool.
--eviction-policyThe eviction policy of the Spot node pool.
--gateway-prefix-sizeThe size of Public IPPrefix attached to the Gateway-mode node pool.
--gpu-driverWhether to install driver for GPU node pool.
--gpu-instance-profileGPU instance profile to partition multi-gpu Nvidia GPUs.
--host-group-idThe fully qualified dedicated host group id used to provision agent node pool.
--if-matchThe value provided will be compared to the ETag of the agentpool, if it matches the operation will proceed.
--if-none-matchSet to '*' to allow a new agentpool to be created, but to prevent updating an existing agentpool.
--kubelet-configPath to JSON file containing Kubelet configurations for agent nodes.
--kubernetes-version, -kVersion of Kubernetes to use for creating the cluster, such as "1.16.9".
--labelsThe node labels for the node pool.
--linux-os-configPath to JSON file containing OS configurations for Linux agent nodes.
--localdns-configSet the localDNS Profile for a nodepool with a JSON config file.
--max-countMaximum nodes count used for autoscaler, when "--enable-cluster-autoscaler" specified.
--max-pods, -mThe maximum number of pods deployable to a node.
--max-surgeExtra nodes used to speed upgrade.
--max-unavailableThe maximum number or percentage of nodes that can be simultaneously unavailable during upgrade.
--message-of-the-dayPath to a file containing the desired message of the day.
--min-countMinimum nodes count used for autoscaler, when "--enable-cluster-autoscaler" specified.
--modeThe mode for a node pool which defines a node pool's primary function.
--node-count, -cNumber of nodes in the Kubernetes agent pool.
--node-osdisk-sizeSize in GiB of the OS disk for each node in the agent pool.
--node-osdisk-typeOS disk type to be used for machines in a given agent pool.
--node-public-ip-prefix-idPublic IP prefix ID used to assign public IPs to VMSS or VMs nodes.
--node-public-ip-tagsThe ipTags of the node public IPs.
--node-soak-durationThe amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node.
--node-taintsThe node taints for the node pool.
--node-vm-size, -sSize of Virtual Machines to create as Kubernetes nodes.
--os-skuThe OS SKU of the agent node pool.
--os-typeThe OS Type.
--pod-ip-allocation-modeSet the ip allocation mode for how Pod IPs from the Azure Pod Subnet are allocated to the nodes in the AKS cluster.
--pod-subnet-idThe Resource Id of a subnet in an existing VNet into which to assign pods in the cluster (requires azure network-plugin).
--ppgThe ID of a PPG.
--priorityThe priority of the node pool.
--scale-down-modeDescribe how VMs are added to or removed from nodepools.
--snapshot-idThe source snapshot id used to create this nodepool.
--spot-max-priceIt can only be set when --priority is Spot.
--ssh-accessConfigure SSH access for the node pool.
--tagsspace-separated tags: key[=value] [key[=value] ...].
--undrainable-node-behaviorDefine the behavior for undrainable nodes during upgrade.
--vm-set-typeAgent pool vm set type.
--vm-sizesComma-separated list of VM sizes.
--vnet-subnet-idThe Resource Id of a subnet in an existing VNet into which to deploy the cluster.
--workload-runtimeSet the workload runtime.
--zones, -zAvailability zones where agent nodes will be placed.