Skip to content

Commit a005bfc

Browse files
Merge pull request #282077 from mimckitt/patch-5
Update virtual-machine-scale-sets-configure-rolling-upgrades.md
2 parents 935b753 + 25be53d commit a005bfc

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

articles/virtual-machine-scale-sets/virtual-machine-scale-sets-configure-rolling-upgrades.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,19 @@ Rolling upgrade policy is the safest way to apply updates to instances in a Virt
2424

2525
Rolling upgrade policy is best suited for production workloads.
2626

27+
## Prerequisites
28+
29+
Before configuring a rolling upgrade policy on a Virtual Machine Scale Set with Flexible Orchestration or enabling MaxSurge on either Flexible or Uniform Orchestration deployments, register the feature providers to your subscription.
30+
31+
## Feature Registration
32+
33+
```azurepowershell-interactive
34+
Register-AzProviderFeature -FeatureName VMSSFlexRollingUpgrade -ProviderNameSpace Microsoft.Compute
35+
36+
Register-AzProviderFeature -FeatureName MaxSurgeRollingUpgrade -ProviderNamespace Microsoft.Compute
37+
```
38+
39+
2740
## Requirements
2841

2942
- When using a rolling upgrade policy on Virtual Machine Scale Sets with Flexible Orchestration, the scale set must also use the [Application Health Extension](virtual-machine-scale-sets-health-extension.md) to monitor application health.

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,19 @@ ms.custom: upgradepolicy. maxsurge
1818
1919
Rolling upgrades with MaxSurge can help improve service uptime during upgrade events. With MaxSurge enabled, new instances are created in batches using the latest scale model. When the new instances are fully created and healthy, they begin taking traffic. The scale set then deletes instances in batches matching the old scale set model. The process continues until all instances are brought up-to-date.
2020

21+
## Prerequisites
22+
23+
Before configuring a rolling upgrade policy on a Virtual Machine Scale Set with Flexible Orchestration or enabling MaxSurge on either Flexible or Uniform Orchestration deployments, register the feature providers to your subscription.
24+
25+
## Feature Registration
26+
27+
```azurepowershell-interactive
28+
Register-AzProviderFeature -FeatureName VMSSFlexRollingUpgrade -ProviderNameSpace Microsoft.Compute
29+
30+
Register-AzProviderFeature -FeatureName MaxSurgeRollingUpgrade -ProviderNamespace Microsoft.Compute
31+
```
32+
33+
2134
## Concepts
2235

2336
> [!NOTE]

0 commit comments

Comments
 (0)