az sf managed-node-type
Manage a node type of an Azure Service Fabric managed cluster.
Commands
Name | Description | Type | Status |
---|---|---|---|
az sf managed-node-type create |
Create node type on a managed cluster. |
Core | GA |
az sf managed-node-type delete |
Delete node type from a cluster. |
Core | GA |
az sf managed-node-type list |
List node types of a managed cluster. |
Core | GA |
az sf managed-node-type node |
Perform operations on nodes of a node type on managed clusters. |
Core | GA |
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 show |
Show the properties of a node type. |
Core | GA |
az sf managed-node-type update |
Update node type on a managed cluster. |
Core | GA |
az sf managed-node-type vm-extension |
Managed vm extension on a node type on managed clusters. |
Core | GA |
az sf managed-node-type vm-extension add |
Add an extension to the node type. |
Core | GA |
az sf managed-node-type vm-extension delete |
Delete an extension to the node type. |
Core | GA |
az sf managed-node-type vm-secret |
Managed vm secrets on a node type on managed clusters. |
Core | GA |
az sf managed-node-type vm-secret add |
Add a secret to the node type. |
Core | GA |
az sf managed-node-type create
Create node type on a managed cluster.
az sf managed-node-type create --cluster-name
--instance-count
--name
--resource-group
[--app-end-port]
[--app-start-port]
[--capacity]
[--data-disk-size]
[--data-disk-type {Premium_LRS, StandardSSD_LRS, Standard_LRS}]
[--ephemeral-end-port]
[--ephemeral-start-port]
[--is-stateless {false, true}]
[--multi-place-groups {false, true}]
[--placement-property]
[--primary {false, true}]
[--vm-image-offer]
[--vm-image-publisher]
[--vm-image-sku]
[--vm-image-version]
[--vm-size]
Examples
Create primary node type with 5 nodes.
az sf managed-node-type create -g testRG -c testCluster -n pnt --instance-count 5 --primary
Create non primary node type with placement properities, capacities and ports.
az sf managed-node-type create -g testRG -c testCluster -n snt --instance-count 5 --placement-property NodeColor=Green SomeProperty=5 --capacity ClientConnections=65536 --app-start-port 20575 --app-end-port 20605 --ephemeral-start-port 20606 --ephemeral-end-port 20861
Required Parameters
Specify the name of the cluster, if not given it will be same as resource group name.
Essage = "The number of nodes in the node type.
Node type name.
Specify the resource group name. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Application End port of a range of ports.
Application start port of a range of ports.
Capacity tags applied to the nodes in the node type as key/value pairs, the cluster resource manager uses these tags to understand how much resource a node has. Updating this will override the current values.for example: --capacity ClientConnections=65536 param2=value2.
Disk size for each vm in the node type in GBs.
Managed data disk type. IOPS and throughput are given by the disk size, to see more information go to https://docs.microsoft.com/azure/virtual-machines/disks-types. Default StandardSSD_LRSStandard_LRS: Standard HDD locally redundant storage. Best for backup, non-critical, and infrequent access.StandardSSD_LRS: Standard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev/test.Premium_LRS: Premium SSD locally redundant storage. Best for production and performance sensitive workloads.
Ephemeral end port of a range of ports.
Ephemeral start port of a range of ports.
Indicates if the node type can only host Stateless workloads.
Indicates if scale set associated with the node type can be composed of multiple placement groups.
Placement tags applied to nodes in the node type as key/value pairs, which can be used to indicate where certain services (workload) should run. Updating this will override the current values.for example: --placement-property NodeColor=Green SomeProperty=5.
Specify if the node type is primary. On this node type will run system services. Only one node type should be marked as primary. Primary node type cannot be deleted or changed for existing clusters.
The offer type of the Azure Virtual Machines Marketplace image.
The publisher of the Azure Virtual Machines Marketplace image.
The SKU of the Azure Virtual Machines Marketplace image.
The version of the Azure Virtual Machines Marketplace image.
The size of virtual machines in the pool. All virtual machines in a pool are the same size.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sf managed-node-type delete
Delete node type from a cluster.
az sf managed-node-type delete --cluster-name
--name
--resource-group
Examples
Delete cluster.
az sf managed-node-type delete -g testRG -c testCluster -n snt
Required Parameters
Specify the name of the cluster, if not given it will be same as resource group name.
Node type name.
Specify the resource group name. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sf managed-node-type list
List node types of a managed cluster.
az sf managed-node-type list --cluster-name
--resource-group
Examples
List node types by cluster.
az sf managed-node-type list -g testRG -c testCluster
Required Parameters
Specify the name of the cluster, if not given it will be same as resource group name.
Specify the resource group name. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sf managed-node-type show
Show the properties of a node type.
az sf managed-node-type show --cluster-name
--name
--resource-group
Examples
Get node type.
az sf managed-node-type show -g testRG -c testCluster -n pnt
Required Parameters
Specify the name of the cluster, if not given it will be same as resource group name.
Node type name.
Specify the resource group name. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sf managed-node-type update
Update node type on a managed cluster.
az sf managed-node-type update --cluster-name
--name
--resource-group
[--app-end-port]
[--app-start-port]
[--capacity]
[--ephemeral-end-port]
[--ephemeral-start-port]
[--instance-count]
[--placement-property]
Examples
Update the instance count of the node type.
az sf managed-node-type update -g testRG -c testCluster -n snt --instance-count 7
Update placement properties of the node type. This will overwrite older placement properties if any.
az sf managed-node-type update -g testRG -c testCluster -n snt --placement-property NodeColor=Red SomeProperty=6
Required Parameters
Specify the name of the cluster, if not given it will be same as resource group name.
Node type name.
Specify the resource group name. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Application End port of a range of ports.
Application start port of a range of ports.
Capacity tags applied to the nodes in the node type as key/value pairs, the cluster resource manager uses these tags to understand how much resource a node has. Updating this will override the current values.for example: --capacity ClientConnections=65536 param2=value2.
Ephemeral end port of a range of ports.
Ephemeral start port of a range of ports.
Essage = "The number of nodes in the node type.
Placement tags applied to nodes in the node type as key/value pairs, which can be used to indicate where certain services (workload) should run. Updating this will override the current values.for example: --placement-property NodeColor=Green SomeProperty=5.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.