Share via


az sf cluster node

Manage the node instance of a cluster.

Commands

Name Description Type Status
az sf cluster node add

Add nodes to a node type in a cluster.

Core GA
az sf cluster node remove

Remove nodes from a node type in a cluster.

Core GA

az sf cluster node add

Add nodes to a node type in a cluster.

az sf cluster node add --cluster-name
                       --node-type
                       --nodes-to-add
                       --resource-group

Examples

Add 2 'nt1' nodes to a cluster.

az sf cluster node add -g group-name -c cluster1 --number-of-nodes-to-add 2 --node-type 'nt1'

Required Parameters

--cluster-name -c

Specify the name of the cluster, if not given it will be same as resource group name.

--node-type

The Node type name.

--nodes-to-add --number-of-nodes-to-add

Number of nodes to add.

--resource-group -g

Specify the resource group name. 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 sf cluster node remove

Remove nodes from a node type in a cluster.

az sf cluster node remove --cluster-name
                          --node-type
                          --nodes-to-remove
                          --resource-group

Examples

Remove 2 'nt1' nodes from a cluster.

az sf cluster node remove -g group-name -c cluster1 --node-type 'nt1' --number-of-nodes-to-remove 2

Required Parameters

--cluster-name -c

Specify the name of the cluster, if not given it will be same as resource group name.

--node-type

The Node type name.

--nodes-to-remove --number-of-nodes-to-remove

Number of nodes to remove.

--resource-group -g

Specify the resource group name. 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.