Add max surge in vmss rolling upgrade policy configurability #24846
Labels
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
Compute
az vm/vmss/image/disk/snapshot
feature-request
Milestone
Related command
az vmss create --maxsurge
https://learn.microsoft.com/en-us/cli/azure/vmss?view=azure-cli-latest#az-vmss-create
Resource Provider
CRP, Microsoft.Compute
Description of Feature or Work Requested
Users will set enable to true for max surge. If enabled, VMSS will create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch.
Minimum API Version Required
2022-11-01
Swagger PR link / SDK link
Azure/azure-rest-api-specs#21253
Azure/azure-sdk-for-net#32880
Request Example
Not merged into master branch yet. This is where it will eventually be though, you can replace commit hash with "master":
https://github.com/Azure/azure-rest-api-specs/blob/f0900e97e33c476881e6e54de58f19293c96c56a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSets_Update_MaximumSet_Gen.json
https://github.com/Azure/azure-rest-api-specs/blob/f0900e97e33c476881e6e54de58f19293c96c56a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/virtualMachineScaleSet.json
See usage of "maxSurge"
Target Date
CLI team's planned 02/07/2023 release window should be okay
Additional context
No response
The text was updated successfully, but these errors were encountered: