az sf cluster node

Manage the node instance of a cluster.

Commands

az sf cluster node add

Add nodes to a node type in a cluster.

az sf cluster node remove

Remove nodes from a node type in a cluster.

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
                       [--subscription]

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

Optional Parameters

--subscription

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

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
                          [--subscription]

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

Optional Parameters

--subscription

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