az hybridaks nodepool

Note

This reference is part of the hybridaks extension for the Azure CLI (version 2.32.0 or higher). The extension will automatically install the first time you run an az hybridaks nodepool command. Learn more about extensions.

Command group 'hybridaks' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage nodepools in a hybridaks provisioned cluster.

Commands

Name Description Type Status
az hybridaks nodepool add

Adds a nodepool in the Hybrid AKS provisioned cluster.

Extension Preview
az hybridaks nodepool delete

Deletes the nodepool in the Hybrid AKS provisioned cluster.

Extension Preview
az hybridaks nodepool list

Lists all the nodepools in the Hybrid AKS provisioned cluster.

Extension Preview
az hybridaks nodepool scale

Scales the nodepool in the Hybrid AKS provisioned cluster .

Extension Preview
az hybridaks nodepool show

Gets the nodepool in the Hybrid AKS provisioned cluster.

Extension Preview

az hybridaks nodepool add

Preview

Command group 'hybridaks nodepool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Adds a nodepool in the Hybrid AKS provisioned cluster.

az hybridaks nodepool add --cluster-name
                          --name
                          --resource-group
                          [--location]
                          [--no-wait]
                          [--node-count]
                          [--node-vm-size]
                          [--os-type]
                          [--tags]
                          [--zones]

Examples

AddNodepool

az hybridaks nodepool add --name "samplenodepool" --cluster-name "samplecluster" --resource-group "sample-rg"

Required Parameters

--cluster-name

Name of the provisioned cluster.

--name -n

Name of the nodepool.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--no-wait

Do not wait for the long-running operation to finish.

Default value: False
--node-count -c

Number of nodes to be created in the nodepool.

--node-vm-size

VM Size of the nodes in the nodepool.

--os-type

OS Type for the nodes in the nodepool. Options: "Linux" | "Windows".

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.

--zones -z

Comma-separated list of availability zones where agent nodes will be placed.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az hybridaks nodepool delete

Preview

Command group 'hybridaks nodepool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Deletes the nodepool in the Hybrid AKS provisioned cluster.

az hybridaks nodepool delete --cluster-name
                             --name
                             --resource-group
                             [--no-wait]
                             [--yes]

Examples

DeleteNodepool

az hybridaks nodepool delete --name "samplenodepool" --cluster-name "samplecluster" --resource-group "sample-rg"

Required Parameters

--cluster-name

Name of the provisioned cluster.

--name -n

Name of the nodepool.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--no-wait

Do not wait for the long-running operation to finish.

Default value: False
--yes -y

Do not prompt for confirmation.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az hybridaks nodepool list

Preview

Command group 'hybridaks nodepool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Lists all the nodepools in the Hybrid AKS provisioned cluster.

az hybridaks nodepool list --cluster-name
                           --resource-group

Examples

ListNodepool

az hybridaks nodepool list --cluster-name "samplecluster" --resource-group "sample-rg"

Required Parameters

--cluster-name

Name of the provisioned cluster.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az hybridaks nodepool scale

Preview

Command group 'hybridaks nodepool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Scales the nodepool in the Hybrid AKS provisioned cluster .

az hybridaks nodepool scale --cluster-name
                            --name
                            --resource-group
                            [--no-wait]
                            [--node-count]
                            [--yes]

Examples

ScaleNodePool

az hybridaks nodepool scale --name "samplenodepool" --cluster-name "samplecluster" --resource-group "sample-rg" --node-count 3

Required Parameters

--cluster-name

Name of the provisioned cluster.

--name -n

Name of the nodepool.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--no-wait

Do not wait for the long-running operation to finish.

Default value: False
--node-count -c

Number of nodes to scale to in the nodepool.

--yes -y

Do not prompt for confirmation.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az hybridaks nodepool show

Preview

Command group 'hybridaks nodepool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Gets the nodepool in the Hybrid AKS provisioned cluster.

az hybridaks nodepool show --cluster-name
                           --name
                           --resource-group

Examples

GetNodepool

az hybridaks nodepool show --name "samplenodepool" --cluster-name "samplecluster" --resource-group "sample-rg"

Required Parameters

--cluster-name

Name of the provisioned cluster.

--name -n

Name of the nodepool.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.