Skip to content

Commit 49eaea5

Browse files
Roshni SarangadharanSimon Howlett
authored andcommitted
Merge branch 'showlett1-troubleshooting-overprovisioning-2026feb19' into 'main'
Add Troubleshooting mention for errors caused by azure overprovisioning See merge request https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/6430 Merged-by: Roshni Sarangadharan <rsarangadharan@gitlab.com> Approved-by: Sam Roque-Worcel <sroque-worcel@gitlab.com> Approved-by: Roshni Sarangadharan <rsarangadharan@gitlab.com> Reviewed-by: Sam Roque-Worcel <sroque-worcel@gitlab.com> Co-authored-by: Simon Howlett <showlett@gitlab.com>
2 parents fd75f02 + 180a92f commit 49eaea5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/executors/docker_autoscaler.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,3 +363,9 @@ This often shows up in the AWS CloudWatch logs because the `reserved` instance c
363363
```
364364

365365
To resolve this error, ensure that the `AZRebalance` process is disabled for your autoscaling group in AWS.
366+
367+
### `Job failures when scaling from zero instances on Azure VMSS`
368+
369+
Microsoft Azure Virtual Machine Scale Sets have an [overprovisioning feature](https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-design-overview#overprovisioning), which can cause job failures. When Azure scales up, it creates extra VMs to ensure capacity and then terminates them after it meets the requested capacity. This behavior conflicts with GitLab Runner's instance tracking, which causes the autoscaler to assign jobs to instances that Azure is about to terminate.
370+
371+
Disable overprovisioning by setting `overprovision` to `false` in your VMSS configuration.

0 commit comments

Comments
 (0)