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/virtual-machine-scale-sets/virtual-machine-scale-sets-automatic-upgrade.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.author: jushiman
6
6
ms.topic: conceptual
7
7
ms.service: virtual-machine-scale-sets
8
8
ms.subservice: automatic-os-upgrade
9
-
ms.date: 07/29/2021
9
+
ms.date: 08/24/2022
10
10
ms.reviewer: jushiman
11
11
ms.custom: devx-track-azurepowershell
12
12
@@ -26,6 +26,9 @@ Automatic OS upgrade has the following characteristics:
26
26
-[Extension sequencing](virtual-machine-scale-sets-extension-sequencing.md) is supported.
27
27
- Can be enabled on a scale set of any size.
28
28
29
+
> [!NOTE]
30
+
>Before enabling automatic OS image upgrades, check [requirements section](#requirements-for-configuring-automatic-os-image-upgrade) of this documentation.
31
+
29
32
## How does automatic OS image upgrade work?
30
33
31
34
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
104
107
## Requirements for configuring automatic OS image upgrade
105
108
106
109
- 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).
108
111
- Use Compute API version 2018-10-01 or higher.
109
112
- 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.
110
113
- 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.
111
114
112
115
### Service Fabric requirements
113
116
114
117
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).
116
119
- The Service Fabric extension on the scale set model definition must have TypeHandlerVersion 1.1 or above.
117
120
- Durability level should be the same at the Service Fabric cluster and Service Fabric extension on the scale set model definition.
118
121
- 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
138
141
To configure automatic OS image upgrade, ensure that the *automaticOSUpgradePolicy.enableAutomaticOSUpgrade* property is set to *true* in the scale set model definition.
139
142
140
143
> [!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.
142
145
143
146
### REST API
144
147
The following example describes how to set automatic OS upgrades on a scale set model:
0 commit comments