Skip to content

Commit b95ba88

Browse files
Merge pull request #209044 from mahtalarico/macla-dev-VMSSdocs
Update virtual-machine-scale-sets-automatic-upgrade.md
2 parents 385ea30 + 581a2d5 commit b95ba88

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

articles/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: jushiman
66
ms.topic: conceptual
77
ms.service: virtual-machine-scale-sets
88
ms.subservice: automatic-os-upgrade
9-
ms.date: 07/29/2021
9+
ms.date: 08/24/2022
1010
ms.reviewer: jushiman
1111
ms.custom: devx-track-azurepowershell
1212

@@ -26,6 +26,9 @@ Automatic OS upgrade has the following characteristics:
2626
- [Extension sequencing](virtual-machine-scale-sets-extension-sequencing.md) is supported.
2727
- Can be enabled on a scale set of any size.
2828

29+
> [!NOTE]
30+
>Before enabling automatic OS image upgrades, check [requirements section](#requirements-for-configuring-automatic-os-image-upgrade) of this documentation.
31+
2932
## How does automatic OS image upgrade work?
3033

3134
An upgrade works by replacing the OS disk of a VM with a new disk created using the latest image version. Any configured extensions and custom data scripts are run on the OS disk, while data disks are retained. To minimize the application downtime, upgrades take place in batches, with no more than 20% of the scale set upgrading at any time.
@@ -104,15 +107,15 @@ The following platform SKUs are currently supported (and more are added periodic
104107
## Requirements for configuring automatic OS image upgrade
105108

106109
- The *version* property of the image must be set to *latest*.
107-
- Use application health probes or [Application Health extension](virtual-machine-scale-sets-health-extension.md) for non-Service Fabric scale sets, or Service Fabric scale sets on Bronze durability with Stateless-only node types.
110+
- Must use application health probes or [Application Health extension](virtual-machine-scale-sets-health-extension.md) for non-Service Fabric scale sets. For Service Fabric requirements, see [Service Fabric requirement](#service-fabric-requirements).
108111
- Use Compute API version 2018-10-01 or higher.
109112
- Ensure that external resources specified in the scale set model are available and updated. Examples include SAS URI for bootstrapping payload in VM extension properties, payload in storage account, reference to secrets in the model, and more.
110113
- For scale sets using Windows virtual machines, starting with Compute API version 2019-03-01, the property *virtualMachineProfile.osProfile.windowsConfiguration.enableAutomaticUpdates* property must set to *false* in the scale set model definition. The *enableAutomaticUpdates* property enables in-VM patching where "Windows Update" applies operating system patches without replacing the OS disk. With automatic OS image upgrades enabled on your scale set, an extra patching process through Windows Update is not required.
111114

112115
### Service Fabric requirements
113116

114117
If you are using Service Fabric, ensure the following conditions are met:
115-
- Service Fabric [durability level](../service-fabric/service-fabric-cluster-capacity.md#durability-characteristics-of-the-cluster) is Silver or Gold, and not Bronze (except Stateless-only node types, which do support automatic OS image upgrades).
118+
- Service Fabric [durability level](../service-fabric/service-fabric-cluster-capacity.md#durability-characteristics-of-the-cluster) is Silver or Gold. If Service Fabric durability is Bronze, only Stateless-only node types supports automatic OS image upgrades).
116119
- The Service Fabric extension on the scale set model definition must have TypeHandlerVersion 1.1 or above.
117120
- Durability level should be the same at the Service Fabric cluster and Service Fabric extension on the scale set model definition.
118121
- An additional health probe or use of application health extension is not required for Silver or Gold durability. Bronze durability with Stateless-only node types requires an additional health probe.
@@ -138,7 +141,7 @@ Automatic OS image upgrade is supported for custom images deployed through [Azur
138141
To configure automatic OS image upgrade, ensure that the *automaticOSUpgradePolicy.enableAutomaticOSUpgrade* property is set to *true* in the scale set model definition.
139142

140143
> [!NOTE]
141-
> **Upgrade Policy mode** and **Automatic OS Upgrade Policy** are separate settings and control different aspects of the scale set. When there are changes in the scale set template, the Upgrade Policy `mode` will determine what happens to existing instances in the scale set. However, Automatic OS Upgrade Policy `enableAutomaticOSUpgrade` is specific to the OS image and tracks changes the image publisher has made and determines what happens when there is an update to the image.
144+
> **Upgrade Policy mode** and **Automatic OS Upgrade Policy** are separate settings and control different aspects of the scale set. When there are changes in the scale set template, the Upgrade Policy `mode` will determine what happens to existing instances in the scale set. However, Automatic OS Upgrade Policy `enableAutomaticOSUpgrade` is specific to the OS image and tracks changes the image publisher has made and determines what happens when there is an update to the image.
142145
143146
### REST API
144147
The following example describes how to set automatic OS upgrades on a scale set model:

0 commit comments

Comments
 (0)