Skip to content

Commit 98ae231

Browse files
authored
Merge pull request #113309 from mayanknayar/master
Updating VMSS scale-in FAQ
2 parents 345c86d + 1da83a7 commit 98ae231

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

articles/virtual-machine-scale-sets/virtual-machine-scale-sets-faq.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,13 @@ Create and capture a VM image, then use that as the source for your scale set. F
4040

4141
### If I reduce my scale set capacity from 20 to 15, which VMs are removed?
4242

43-
Virtual machines are removed from the scale set evenly across update domains and fault domains to maximize availability. VMs with the highest IDs are removed first.
43+
By default, virtual machines are removed from the scale set evenly across availability zones (if the scale set is deployed in zonal configuration) and fault domains to maximize availability. VMs with the highest IDs are removed first.
44+
45+
You can change the order of virtual machine removal by specifying a [scale-in policy](virtual-machine-scale-sets-scale-in-policy.md) for the scale set.
4446

4547
### What if I then increase the capacity from 15 to 18?
4648

47-
If you increase capacity to 18, then 3 new VMs are created. Each time, the VM instance ID is incremented from the previous highest value (for example, 20, 21, 22). VMs are balanced across fault domains and update domains.
49+
If you increase capacity to 18, then 3 new VMs are created. Each time, the VM instance ID is incremented from the previous highest value (for example, 20, 21, 22). VMs are balanced across fault domains.
4850

4951
### When I'm using multiple extensions in a scale set, can I enforce an execution sequence?
5052

@@ -330,13 +332,13 @@ For more information, see [the Microsoft Trust Center](https://www.microsoft.com
330332

331333
Yes. You can see some example MSI templates in Azure Quickstart templates for [Linux](https://github.com/Azure/azure-quickstart-templates/tree/master/201-vmss-msi) and [Windows](https://github.com/Azure/azure-quickstart-templates/tree/master/201-vmss-msi).
332334

333-
## Deleting
335+
## Deleting
334336

335337
### Will the locks I set in place on virtual machine scale set instances be respected when deleting instances?
336338

337-
In the Azure Portal, you have the ability to delete an individual instance or bulk delete by selecting multiple instances. If you attempt to delete a single instance that has a lock in place, the lock is respected and you will not be able to delete the instance. However, if you bulk select multiple instances and any of those instances have a lock in place, the lock(s) will not be respected and all of the selected instances will be deleted.
338-
339-
In Azure CLI, you only have the ability to delete an individual instance. If you attempt to delete a single instance that has a lock in place, the lock is respected and you will not be able to delete that instance.
339+
In the Azure Portal, you have the ability to delete an individual instance or bulk delete by selecting multiple instances. If you attempt to delete a single instance that has a lock in place, the lock is respected and you will not be able to delete the instance. However, if you bulk select multiple instances and any of those instances have a lock in place, the lock(s) will not be respected and all of the selected instances will be deleted.
340+
341+
In Azure CLI, you only have the ability to delete an individual instance. If you attempt to delete a single instance that has a lock in place, the lock is respected and you will not be able to delete that instance.
340342

341343
## Extensions
342344

0 commit comments

Comments
 (0)