หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
In this tutorial series we discuss:
- How to deploy a Service Fabric managed cluster.
- How to scale out a Service Fabric managed cluster
- How to add and remove node types in a Service Fabric managed cluster
- How to deploy an application to a Service Fabric managed cluster
This part of the series covers how to:
- Scale a Service Fabric managed cluster node
Prerequisites
- A Service Fabric managed cluster (see Deploy a managed cluster).
- Azure PowerShell 4.7.0 or later (see Install Azure PowerShell).
Scale a Service Fabric managed cluster
Change the instance count to increase or decrease the number of nodes on the node type that you would like to scale. You can find node type names in the Azure Resource Manager template (ARM template) from your cluster deployment, or in the Service Fabric Explorer.
Note
For the Primary node type, you won't be able to go below three nodes for a Basic SKU cluster, and five nodes for a Standard SKU cluster.
$resourceGroup = "myResourceGroup"
$clusterName = "mysfcluster"
$nodeTypeName = "FE"
$instanceCount = "7"
Set-AzServiceFabricManagedNodeType -ResourceGroupName $resourceGroup -ClusterName $clusterName -name $nodeTypeName -InstanceCount $instanceCount -Verbose
The cluster will begin upgrading automatically and after a few minutes you'll see the additional nodes.
Next steps
In this step we scaled a node type on a Service Fabric managed cluster. To learn more about adding and removing node types, see: