Skip to content

Commit 4776c61

Browse files
Merge pull request #274755 from tanmaygore/patch-25
Update automatic-extension-upgrade.md
2 parents 938beb4 + 1890f50 commit 4776c61

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

articles/virtual-machines/automatic-extension-upgrade.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ For a group of virtual machines undergoing an update, the Azure platform orchest
4646
**Within a 'set':**
4747
- All VMs in a common availability set or scale set aren't updated concurrently.
4848
- VMs in a common availability set are updated within Update Domain boundaries and VMs across multiple Update Domains aren't updated concurrently.
49-
- VMs in a common virtual machine scale set are grouped in batches and updated within Update Domain boundaries.
49+
- VMs in a common virtual machine scale set are grouped in batches and updated within Update Domain boundaries. [Upgrade policies](https://learn.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-upgrade-policy) defined on the scale set are honored during the update. If upgrade policy is set to Manual, VMs won't get updated even if automatic extension upgrade is enabled.
5050

5151
### Upgrade process for Virtual Machine Scale Sets
5252
1. Before the upgrade process starts, the orchestrator ensures that no more than 20% of VMs in the entire scale set are unhealthy (for any reason).
5353

54-
2. The upgrade orchestrator identifies the batch of VM instances to upgrade. An upgrade batch can have a maximum of 20% of the total VM count, subject to a minimum batch size of one virtual machine.
54+
2. The upgrade orchestrator identifies the batch of VM instances to upgrade. An upgrade batch can have a maximum of 20% of the total VM count, subject to a minimum batch size of one virtual machine. Definition of Upgrade Policy and Availability Zones is considered while identifying the batch.
5555

56-
3. For scale sets with configured application health probes or Application Health extension, the upgrade waits up to 5 minutes (or the defined health probe configuration) for the VM to become healthy before upgrading the next batch. If a VM doesn't recover its health after an upgrade, then by default the previous extension version on the VM is reinstalled.
56+
3. After the upgrade, the VM health is always monitored before moving to the next batch. For scale sets with configured application health probes or Application Health extension, application health is also monitored. The upgrade waits up to 5 minutes (or the defined health probe configuration) for the VM to become healthy before upgrading the next batch. If a VM doesn't recover its health after an upgrade, then by default the previous extension version on the VM is reinstalled.
5757

5858
4. The upgrade orchestrator also tracks the percentage of VMs that become unhealthy after an upgrade. The upgrade stops if more than 20% of upgraded instances become unhealthy during the upgrade process.
5959

@@ -239,6 +239,15 @@ Use the following example to set automatic extension upgrade on the extension wi
239239
}
240240
```
241241

242+
### Using Azure Portal
243+
You can use Azure Portal - Extension blade to enable automatic upgrade of extensions on existing Virtual Machines and Virtual Machine Scale Sets.
244+
1. Navigate to [Virtual Machines](https://portal.azure.com/#view/HubsExtension/BrowseResource/resourceType/Microsoft.Compute%2FVirtualMachines) or [Virtual Machines Scale Sets](https://ms.portal.azure.com/#view/HubsExtension/BrowseResource/resourceType/Microsoft.Compute%2FvirtualMachineScaleSets) blade and select the resource by clicking on its name.
245+
2. Navigate to "Extenisons + applications" blade under Settings to view all extensions installed on the resource. The "Automatic Upgrade Status" column tells if Automatic upgrade of the extension is enabled, disabled or not-supported.
246+
3. Navigate to Extension details blade by clicking on the extension name.
247+
4. Click "Enable automatic upgrade" to enable automatic upgrade of the extension. This button can also be used to disable automatic upgrade when required.
248+
![image](https://github.com/MicrosoftDocs/azure-docs-pr/assets/52047624/6f5f888f-e4b3-41b6-a26e-25816932028a)
249+
250+
![image](https://github.com/MicrosoftDocs/azure-docs-pr/assets/52047624/4999f38d-4f06-4183-b64c-0450cd80bac7)
242251

243252
## Extension upgrades with multiple extensions
244253

0 commit comments

Comments
 (0)