You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/service-fabric/service-fabric-best-practices-capacity-scaling.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ ms.author: pepogors
20
20
21
21
Before you create any Azure Service Fabric cluster or scale compute resources that host your cluster, it's important to plan for capacity. For more information about planning for capacity, see [Planning the Service Fabric cluster capacity](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity). For further best-practice guidance for cluster scalability, see [Service Fabric scalability considerations](https://docs.microsoft.com/azure/architecture/reference-architectures/microservices/service-fabric#scalability-considerations).
22
22
23
-
In addition to considering node type and cluster characteristics, you should plan for scaling operations to take longer than an hour to complete for a production environment. This consideration is true regardless of the number of VMs you're adding.
23
+
In addition to considering node type and cluster characteristics, you should expect scaling operations to take longer than an hour to complete for a production environment. This consideration is true regardless of the number of VMs you're adding.
24
24
25
25
## Autoscaling
26
26
You should perform scaling operations via Azure Resource Manager templates, because it's the best practice to treat [resource configurations as code](https://docs.microsoft.com/azure/service-fabric/service-fabric-best-practices-infrastructure-as-code).
@@ -32,7 +32,7 @@ Using automatic scaling through virtual machine scale sets will make your versio
32
32
In addition to manual scaling, you can configure a [Continuous integration and delivery pipeline in Azure DevOps Services by using Azure resource group deployment projects](https://docs.microsoft.com/azure/vs-azure-tools-resource-groups-ci-in-vsts). This pipeline is commonly triggered by a logic app that uses virtual machine performance metrics queried from the [Azure Monitor REST API](https://docs.microsoft.com/azure/azure-monitor/platform/rest-api-walkthrough). The pipeline effectively autoscales based on whatever metrics you want, while optimizing for Resource Manager templates.
33
33
* You need to horizontally scale only one virtual machine scale set node at a time.
34
34
35
-
To scale out by three or more nodes at a time, you should [scale out a Service Fabric cluster by adding a virtual machine scale set](https://docs.microsoft.com/azure service-fabric/virtual-machine-scale-set-scale-node-type-scale-out). It's safest to scale in and out virtual machine scale sets horizontally, one node at a time.
35
+
To scale out by three or more nodes at a time, you should [scale out a Service Fabric cluster by adding a virtual machine scale set](virtual-machine-scale-set-scale-node-type-scale-out.md). It's safest to scale in and scale out virtual machine scale sets horizontally, one node at a time.
36
36
* You have Silver reliability or higher for your Service Fabric cluster, and Silver durability or higher on any scale where you configure autoscaling rules.
37
37
38
38
The minimum capacity for autoscaling rules must be equal to or greater than five virtual machine instances. It must also be equal to or greater than your Reliability Tier minimum for your primary node type.
@@ -75,9 +75,7 @@ With the node properties and placement constraints declared, do the following st
75
75
4. Repeat steps 1 through 3 as needed, but never scale down the number of instances in the primary node types less than what the reliability tier warrants. See [Planning the Service Fabric cluster capacity](https://docs.microsoft.com/azure/service-fabric/service-fabric-cluster-capacity) for a list of recommended instances.
76
76
77
77
### Example scenario
78
-
A supported scenario for when to perform a vertical scaling operation is:
79
-
80
-
I can migrate my Service Fabric cluster and application from an unmanaged disk to managed disks without application downtime.
78
+
A supported scenario for when to perform a vertical scaling operation is: you want to migrate your Service Fabric cluster and application from an unmanaged disk to managed disks without application downtime.
81
79
82
80
You can provision a new virtual machine scale set with managed disks, and perform an application upgrade with placement constraints that target provisioned capacity. Your Service Fabric cluster can then schedule your workload on provisioned cluster node capacity that's rolled out by upgrade domain without application downtime.
83
81
@@ -153,7 +151,7 @@ using (var client = new FabricClient())
0 commit comments