For rolling upgrades in Virtual Machine Scale Sets, this option builds fresh instances from the newest model first and removes old ones afterwards. Capacity is kept, but you need extra quota and room in the subnet.
Read more: Microsoft Learn
In the Ultra Transcenders books
Each book explains MaxSurge in context, with comparison tables and the common traps.
Terms in this definition
- VM
A computer implemented entirely in software, having virtual hardware and its own guest OS; ESX hosts run it and vCenter manages it.
- FIRST
A DAX function available only inside visual calculations. It fetches the value at the start of one axis of the visual's matrix, which makes it handy for comparing each point with the first; its opposite is LAST.
- Capacity
A reserved block of compute for a tenant whose size is fixed by its SKU; Fabric F SKUs express it in capacity units (CUs). Workspaces assigned to it unlock features like Copilot, and from F64 upwards people with free licences can view Power BI content.
- Subnet
A segment of a VNet's address space from which resources receive private IPs. Azure holds back five addresses per subnet (the first four and the last), leaving 251 usable in a /24 and three in a /29, the smallest IPv4 subnet.
Related terms
- Pod Disruption Budget
A Kubernetes object capping how many of the pods it selects may be taken offline together by voluntary evictions, for example draining nodes in an AKS upgrade. Deployment rollouts are controlled separately by maxSurge and maxUnavailable.
- RollingUpdate
The standard Kubernetes Deployment strategy, swapping pods out step by step within the limits of maxSurge and maxUnavailable. Recreate is the other option.