az aksarc nodepool
Note
This reference is part of the aksarc extension for the Azure CLI (version 2.32.0 or higher). The extension will automatically install the first time you run an az aksarc nodepool command. Learn more about extensions.
Manage nodepools in a provisioned cluster.
Commands
Name | Description | Type | Status |
---|---|---|---|
az aksarc nodepool add |
Adds a nodepool in the provisioned cluster. |
Extension | GA |
az aksarc nodepool delete |
Deletes the nodepool in the provisioned cluster. |
Extension | GA |
az aksarc nodepool list |
Lists all the nodepools in the provisioned cluster. |
Extension | GA |
az aksarc nodepool scale |
Scales the nodepool in the provisioned cluster . |
Extension | GA |
az aksarc nodepool show |
Gets the nodepool in the provisioned cluster. |
Extension | GA |
az aksarc nodepool update |
Update a nodepool in the provisioned cluster. |
Extension | GA |
az aksarc nodepool add
Adds a nodepool in the provisioned cluster.
az aksarc nodepool add --cluster-name
--name
--resource-group
[--enable-cluster-autoscaler]
[--labels]
[--max-count]
[--max-pods]
[--min-count]
[--no-wait]
[--node-count]
[--node-taints]
[--node-vm-size]
[--os-sku]
[--os-type]
[--tags]
Examples
AddNodepool
az aksarc nodepool add --name "samplenodepool" --cluster-name "samplecluster" --resource-group "sample-rg"
Required Parameters
Name of the provisioned cluster.
Name of the nodepool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Enable cluster auto-scaler for the provisioned cluster.
Space-separated labels: key[=value] [key[=value] ...].
The maximum number of nodes for auto-scaling.
Maximum number of pods that can run on a node.
The minimum number of nodes for auto-scaling.
Do not wait for the long-running operation to finish.
Number of nodes to be created in the nodepool.
Comma-separated list of nodepool taints.
VM Size of the nodes in the nodepool.
OS Sku for the nodes in the nodepool. Options: "CBLMariner" | "Windows2019" | "Windows2022".
OS Type for the nodes in the nodepool. Options: "Linux" | "Windows".
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az aksarc nodepool delete
Deletes the nodepool in the provisioned cluster.
az aksarc nodepool delete --cluster-name
--name
--resource-group
[--no-wait]
[--yes]
Examples
DeleteNodepool
az aksarc nodepool delete --name "samplenodepool" --cluster-name "samplecluster" --resource-group "sample-rg"
Required Parameters
Name of the provisioned cluster.
Name of the nodepool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Do not wait for the long-running operation to finish.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az aksarc nodepool list
Lists all the nodepools in the provisioned cluster.
az aksarc nodepool list --cluster-name
--resource-group
Examples
ListNodepool
az aksarc nodepool list --cluster-name "samplecluster" --resource-group "sample-rg"
Required Parameters
Name of the provisioned cluster.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az aksarc nodepool scale
Scales the nodepool in the provisioned cluster .
az aksarc nodepool scale --cluster-name
--name
--resource-group
[--no-wait]
[--node-count]
[--node-vm-size]
[--yes]
Examples
ScaleNodePool
az aksarc nodepool scale --name "samplenodepool" --cluster-name "samplecluster" --resource-group "sample-rg" --node-count 3 --node-vm-size "Standard_A2_v2"
Required Parameters
Name of the provisioned cluster.
Name of the nodepool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Do not wait for the long-running operation to finish.
Number of nodes to scale to in the nodepool.
VM Size of the nodes in the nodepool.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az aksarc nodepool show
Gets the nodepool in the provisioned cluster.
az aksarc nodepool show --cluster-name
--name
--resource-group
Examples
GetNodepool
az aksarc nodepool show --name "samplenodepool" --cluster-name "samplecluster" --resource-group "sample-rg"
Required Parameters
Name of the provisioned cluster.
Name of the nodepool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az aksarc nodepool update
Update a nodepool in the provisioned cluster.
az aksarc nodepool update --cluster-name
--name
--resource-group
[--disable-cluster-autoscaler]
[--enable-cluster-autoscaler]
[--labels]
[--max-count]
[--min-count]
[--no-wait]
[--node-taints]
[--update-cluster-autoscaler]
Examples
UpdateNodepool
az aksarc nodepool update --name "samplenodepool" --cluster-name "samplecluster" --resource-group "sample-rg" --disable-cluster-autoscaler
Required Parameters
Name of the provisioned cluster.
Name of the nodepool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Disable cluster auto-scaler for the provisioned cluster.
Enable cluster auto-scaler for the provisioned cluster.
Space-separated labels: key[=value] [key[=value] ...]. Pass an empty string to clear the labels.
The maximum number of nodes for auto-scaling.
The minimum number of nodes for auto-scaling.
Do not wait for the long-running operation to finish.
Comma-separated list of nodepool taints. Pass an empty string to clear the taints.
Update cluster auto-scaler for the provisioned cluster.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.