Skip to content

Commit 180a92f

Browse files
Simon HowlettGitLab
authored andcommitted
Add documentation note of problematic feature
1 parent f133bf2 commit 180a92f

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)