az sf managed-node-type node

Perform operations on nodes of a node type on managed clusters.

Commands

az sf managed-node-type node delete

Delete nodes of a node type.

az sf managed-node-type node reimage

Reimage nodes of a node type.

az sf managed-node-type node restart

Restart nodes of a node type.

az sf managed-node-type node delete

Delete nodes of a node type.

az sf managed-node-type node delete --cluster-name
                                    --name
                                    --node-name
                                    --resource-group
                                    [--force {false, true}]
                                    [--subscription]

Examples

Delete 2 nodes.

az sf managed-node-type node delete -g testRG -c testCluster -n snt --node-name snt_0 snt_1

Required Parameters

--cluster-name -c

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

--name --node-type-name -n

Node type name.

--node-name

List of target nodes to perform the operation.

--resource-group -g

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

Optional Parameters

--force

Using this flag will force the operation even if service fabric is unable to disable the nodes. Use with caution as this might cause data loss if stateful workloads are running on the node.

accepted values: false, true
--subscription

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

az sf managed-node-type node reimage

Reimage nodes of a node type.

az sf managed-node-type node reimage --cluster-name
                                     --name
                                     --node-name
                                     --resource-group
                                     [--force {false, true}]
                                     [--subscription]

Examples

Reimage 2 nodes.

az sf managed-node-type node reimage -g testRG -c testCluster -n snt --node-name snt_0 snt_1

Required Parameters

--cluster-name -c

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

--name --node-type-name -n

Node type name.

--node-name

List of target nodes to perform the operation.

--resource-group -g

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

Optional Parameters

--force

Using this flag will force the operation even if service fabric is unable to disable the nodes. Use with caution as this might cause data loss if stateful workloads are running on the node.

accepted values: false, true
--subscription

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

az sf managed-node-type node restart

Restart nodes of a node type.

az sf managed-node-type node restart --cluster-name
                                     --name
                                     --node-name
                                     --resource-group
                                     [--force {false, true}]
                                     [--subscription]

Examples

Restart 2 nodes.

az sf managed-node-type node restart -g testRG -c testCluster -n snt --node-name snt_0 snt_1

Required Parameters

--cluster-name -c

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

--name --node-type-name -n

Node type name.

--node-name

List of target nodes to perform the operation.

--resource-group -g

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

Optional Parameters

--force

Using this flag will force the operation even if service fabric is unable to disable the nodes. Use with caution as this might cause data loss if stateful workloads are running on the node.

accepted values: false, true
--subscription

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