az sf managed-node-type node

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

Commands

Name Description Type Status
az sf managed-node-type node delete

Delete nodes of a node type.

Core GA
az sf managed-node-type node reimage

Reimage nodes of a node type.

Core GA
az sf managed-node-type node restart

Restart nodes of a node type.

Core GA

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}]

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
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 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}]

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
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 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}]

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