Skip to content

Commit c041c19

Browse files
Merge pull request #99738 from abhayshah9/vmSize
Vm size
2 parents 63ad1cd + 46fa356 commit c041c19

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

articles/service-fabric/how-to-managed-cluster-modify-node-type.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -356,12 +356,22 @@ Set-AzServiceFabricManagedNodeType -ResourceGroupName $rgName -ClusterName $clus
356356

357357
## Modify the VM SKU for a node type
358358

359-
Service Fabric managed cluster does not support in-place modification of the VM SKU, but is simpler than classic. In order to accomplish this you'll need to do the following:
360-
* [Create a new node type via portal, ARM template, or PowerShell](how-to-managed-cluster-modify-node-type.md#add-a-node-type) with the required VM SKU. You'll need to use a template or PowerShell for adding a primary or stateless node type.
361-
* Migrate your workload over. One way is to use a [placement property to ensure that certain workloads run only on certain types of nodes in the cluster](./service-fabric-cluster-resource-manager-cluster-description.md#node-properties-and-placement-constraints).
362-
* [Delete old node type via portal or PowerShell](how-to-managed-cluster-modify-node-type.md#remove-a-node-type). To remove a primary node type you will have to use PowerShell.
363-
359+
To modify the VM SKU size used for a node type using an ARM Template, adjust the `vmSize` property with the new value and do a cluster deployment for the setting to take effect. The managed cluster provider will reimage each instance by upgrade domain. For a list of SKU options, please refer to the [VM sizes - Azure Virtual Machines | Microsoft Learn](../virtual-machines/sizes.md).
364360

361+
```json
362+
{
363+
"apiVersion": "[variables('sfApiVersion')]",
364+
"type": "Microsoft.ServiceFabric/managedclusters/nodetypes",
365+
"name": "[concat(parameters('clusterName'), '/', parameters('nodeTypeName'))]",
366+
"location": "[resourcegroup().location]",
367+
"properties": {
368+
...
369+
"vmSize": "[parameters('vmImageVersion')]",
370+
...
371+
}
372+
}
373+
}
374+
```
365375
## Configure multiple managed disks
366376
Service Fabric managed clusters by default configure one managed disk. By configuring the following optional property and values, you can add more managed disks to node types within a cluster. You are able to specify the drive letter, disk type, and size per disk.
367377

0 commit comments

Comments
 (0)