From c8c335a0e2fa037b8daee06011861e576f6b3a4e Mon Sep 17 00:00:00 2001 From: Jacob Nesbitt Date: Thu, 21 May 2026 13:13:58 -0400 Subject: [PATCH] Enable adaptive request concurrency for runners Many runners are throwing warnings about request bottlenecks. The docs suggest enabling this setting, which will automatically scale the request concurrency value based on load. --- k8s/production/runners/protected/graviton/3/release.yaml | 6 +++++- k8s/production/runners/protected/graviton/4/release.yaml | 6 +++++- k8s/production/runners/protected/x86_64/v2-win/release.yaml | 1 + k8s/production/runners/protected/x86_64/v2/release.yaml | 6 +++++- k8s/production/runners/protected/x86_64/v3/release.yaml | 6 +++++- k8s/production/runners/protected/x86_64/v4/release.yaml | 6 +++++- k8s/production/runners/public/graviton/3/release.yaml | 6 +++++- k8s/production/runners/public/graviton/4/release.yaml | 6 +++++- k8s/production/runners/public/x86_64/v2-win/release.yaml | 1 + k8s/production/runners/public/x86_64/v2/release.yaml | 6 +++++- k8s/production/runners/public/x86_64/v3/release.yaml | 6 +++++- k8s/production/runners/public/x86_64/v4/release.yaml | 6 +++++- k8s/production/runners/signing/release.yaml | 6 +++++- 13 files changed, 57 insertions(+), 11 deletions(-) diff --git a/k8s/production/runners/protected/graviton/3/release.yaml b/k8s/production/runners/protected/graviton/3/release.yaml index 7bd136440..17417758c 100644 --- a/k8s/production/runners/protected/graviton/3/release.yaml +++ b/k8s/production/runners/protected/graviton/3/release.yaml @@ -77,7 +77,11 @@ spec: """ output_limit = 20480 - environment = ["FF_GITLAB_REGISTRY_HELPER_IMAGE=1"] + + [runners.feature_flags] + FF_GITLAB_REGISTRY_HELPER_IMAGE = true + FF_USE_ADAPTIVE_REQUEST_CONCURRENCY = true + [runners.kubernetes] helper_image = "registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:arm-latest" privileged = false diff --git a/k8s/production/runners/protected/graviton/4/release.yaml b/k8s/production/runners/protected/graviton/4/release.yaml index 37a69b658..e3334345c 100644 --- a/k8s/production/runners/protected/graviton/4/release.yaml +++ b/k8s/production/runners/protected/graviton/4/release.yaml @@ -77,7 +77,11 @@ spec: """ output_limit = 20480 - environment = ["FF_GITLAB_REGISTRY_HELPER_IMAGE=1"] + + [runners.feature_flags] + FF_GITLAB_REGISTRY_HELPER_IMAGE = true + FF_USE_ADAPTIVE_REQUEST_CONCURRENCY = true + [runners.kubernetes] helper_image = "registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:arm64-latest" privileged = false diff --git a/k8s/production/runners/protected/x86_64/v2-win/release.yaml b/k8s/production/runners/protected/x86_64/v2-win/release.yaml index 8e184d9f6..5fae5264e 100644 --- a/k8s/production/runners/protected/x86_64/v2-win/release.yaml +++ b/k8s/production/runners/protected/x86_64/v2-win/release.yaml @@ -92,6 +92,7 @@ spec: # Ensure windows paths are used [runners.feature_flags] + FF_USE_ADAPTIVE_REQUEST_CONCURRENCY = true FF_USE_POWERSHELL_PATH_RESOLVER = true [runners.kubernetes] diff --git a/k8s/production/runners/protected/x86_64/v2/release.yaml b/k8s/production/runners/protected/x86_64/v2/release.yaml index 1104a39b1..f7f6dab1f 100644 --- a/k8s/production/runners/protected/x86_64/v2/release.yaml +++ b/k8s/production/runners/protected/x86_64/v2/release.yaml @@ -77,7 +77,11 @@ spec: """ output_limit = 20480 - environment = ["FF_GITLAB_REGISTRY_HELPER_IMAGE=1"] + + [runners.feature_flags] + FF_GITLAB_REGISTRY_HELPER_IMAGE = true + FF_USE_ADAPTIVE_REQUEST_CONCURRENCY = true + [runners.kubernetes] privileged = false helper_memory_request = "512M" diff --git a/k8s/production/runners/protected/x86_64/v3/release.yaml b/k8s/production/runners/protected/x86_64/v3/release.yaml index ed0d28f18..8e20969cd 100644 --- a/k8s/production/runners/protected/x86_64/v3/release.yaml +++ b/k8s/production/runners/protected/x86_64/v3/release.yaml @@ -77,7 +77,11 @@ spec: """ output_limit = 20480 - environment = ["FF_GITLAB_REGISTRY_HELPER_IMAGE=1"] + + [runners.feature_flags] + FF_GITLAB_REGISTRY_HELPER_IMAGE = true + FF_USE_ADAPTIVE_REQUEST_CONCURRENCY = true + [runners.kubernetes] privileged = false helper_memory_request = "512M" diff --git a/k8s/production/runners/protected/x86_64/v4/release.yaml b/k8s/production/runners/protected/x86_64/v4/release.yaml index 172c94988..abf47c60c 100644 --- a/k8s/production/runners/protected/x86_64/v4/release.yaml +++ b/k8s/production/runners/protected/x86_64/v4/release.yaml @@ -77,7 +77,11 @@ spec: """ output_limit = 20480 - environment = ["FF_GITLAB_REGISTRY_HELPER_IMAGE=1"] + + [runners.feature_flags] + FF_GITLAB_REGISTRY_HELPER_IMAGE = true + FF_USE_ADAPTIVE_REQUEST_CONCURRENCY = true + [runners.kubernetes] privileged = false helper_memory_request = "512M" diff --git a/k8s/production/runners/public/graviton/3/release.yaml b/k8s/production/runners/public/graviton/3/release.yaml index 9ac280fd4..6ee28a02b 100644 --- a/k8s/production/runners/public/graviton/3/release.yaml +++ b/k8s/production/runners/public/graviton/3/release.yaml @@ -77,7 +77,11 @@ spec: """ output_limit = 20480 - environment = ["FF_GITLAB_REGISTRY_HELPER_IMAGE=1"] + + [runners.feature_flags] + FF_GITLAB_REGISTRY_HELPER_IMAGE = true + FF_USE_ADAPTIVE_REQUEST_CONCURRENCY = true + [runners.kubernetes] helper_image = "registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:arm-latest" privileged = false diff --git a/k8s/production/runners/public/graviton/4/release.yaml b/k8s/production/runners/public/graviton/4/release.yaml index fdd181bf7..70ca0f653 100644 --- a/k8s/production/runners/public/graviton/4/release.yaml +++ b/k8s/production/runners/public/graviton/4/release.yaml @@ -77,7 +77,11 @@ spec: """ output_limit = 20480 - environment = ["FF_GITLAB_REGISTRY_HELPER_IMAGE=1"] + + [runners.feature_flags] + FF_GITLAB_REGISTRY_HELPER_IMAGE = true + FF_USE_ADAPTIVE_REQUEST_CONCURRENCY = true + [runners.kubernetes] helper_image = "registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:arm64-latest" privileged = false diff --git a/k8s/production/runners/public/x86_64/v2-win/release.yaml b/k8s/production/runners/public/x86_64/v2-win/release.yaml index 6a0619701..c0a3641d3 100644 --- a/k8s/production/runners/public/x86_64/v2-win/release.yaml +++ b/k8s/production/runners/public/x86_64/v2-win/release.yaml @@ -93,6 +93,7 @@ spec: # Ensure windows paths are used [runners.feature_flags] + FF_USE_ADAPTIVE_REQUEST_CONCURRENCY = true FF_USE_POWERSHELL_PATH_RESOLVER = true [runners.kubernetes] diff --git a/k8s/production/runners/public/x86_64/v2/release.yaml b/k8s/production/runners/public/x86_64/v2/release.yaml index 41f2ce998..700fe1980 100644 --- a/k8s/production/runners/public/x86_64/v2/release.yaml +++ b/k8s/production/runners/public/x86_64/v2/release.yaml @@ -79,7 +79,11 @@ spec: """ output_limit = 20480 - environment = ["FF_GITLAB_REGISTRY_HELPER_IMAGE=1"] + + [runners.feature_flags] + FF_GITLAB_REGISTRY_HELPER_IMAGE = true + FF_USE_ADAPTIVE_REQUEST_CONCURRENCY = true + [runners.kubernetes] privileged = false helper_memory_request = "512M" diff --git a/k8s/production/runners/public/x86_64/v3/release.yaml b/k8s/production/runners/public/x86_64/v3/release.yaml index 4ca28eb28..475d86feb 100644 --- a/k8s/production/runners/public/x86_64/v3/release.yaml +++ b/k8s/production/runners/public/x86_64/v3/release.yaml @@ -77,7 +77,11 @@ spec: """ output_limit = 20480 - environment = ["FF_GITLAB_REGISTRY_HELPER_IMAGE=1"] + + [runners.feature_flags] + FF_GITLAB_REGISTRY_HELPER_IMAGE = true + FF_USE_ADAPTIVE_REQUEST_CONCURRENCY = true + [runners.kubernetes] privileged = false helper_memory_request = "512M" diff --git a/k8s/production/runners/public/x86_64/v4/release.yaml b/k8s/production/runners/public/x86_64/v4/release.yaml index 804404cb1..3f2103068 100644 --- a/k8s/production/runners/public/x86_64/v4/release.yaml +++ b/k8s/production/runners/public/x86_64/v4/release.yaml @@ -77,7 +77,11 @@ spec: """ output_limit = 20480 - environment = ["FF_GITLAB_REGISTRY_HELPER_IMAGE=1"] + + [runners.feature_flags] + FF_GITLAB_REGISTRY_HELPER_IMAGE = true + FF_USE_ADAPTIVE_REQUEST_CONCURRENCY = true + [runners.kubernetes] privileged = false helper_memory_request = "512M" diff --git a/k8s/production/runners/signing/release.yaml b/k8s/production/runners/signing/release.yaml index 5f9f53664..cc00cd5e4 100644 --- a/k8s/production/runners/signing/release.yaml +++ b/k8s/production/runners/signing/release.yaml @@ -78,7 +78,11 @@ spec: """ output_limit = 20480 - environment = ["FF_GITLAB_REGISTRY_HELPER_IMAGE=1"] + + [runners.feature_flags] + FF_GITLAB_REGISTRY_HELPER_IMAGE = true + FF_USE_ADAPTIVE_REQUEST_CONCURRENCY = true + [runners.kubernetes] privileged = false helper_memory_request = "512M"