Created
March 3, 2021 11:08
-
-
Save bhcopeland/edc54628797d3a6d17f5cdd73e79d575 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/files/gitlab/gitlab-runner-manager.lkft.org.toml b/files/gitlab/gitlab-runner-manager.lkft.org.toml | |
index 8c09041d..d80e01ac 100644 | |
--- a/files/gitlab/gitlab-runner-manager.lkft.org.toml | |
+++ b/files/gitlab/gitlab-runner-manager.lkft.org.toml | |
@@ -1,5 +1,6 @@ | |
-concurrent = 600 | |
+concurrent = 600 # limits how many jobs globally can be run concurrently. The most upper limit of jobs using all defined runners. 0 does not mean unlimited | |
check_interval = 0 | |
+listen_address = "localhost:9252" # monitoring | |
[session_server] | |
session_timeout = 1800 | |
@@ -10,7 +11,8 @@ check_interval = 0 | |
{{ grep_token.stdout }} | |
executor = "{{ gitlab_executor }}" | |
output_limit = 10000 | |
- limit = 30 # This runner can execute up to xx jobs (created machines) | |
+ limit = 600 # Limit how many jobs can be handled concurrently by this token. 0 (default) simply means don’t limit | |
+ request_concurrency = 30 # Limit number of concurrent requests for new jobs from GitLab (default 1) | |
[runners.cache] | |
Type = "s3" | |
Shared = true | |
@@ -36,7 +38,7 @@ check_interval = 0 | |
OffPeakTimezone = "Europe/London" | |
OffPeakIdleCount = 0 | |
OffPeakIdleTime = 600 | |
- MaxBuilds = 20 # Each machine can handle up to xx jobs in a row (after this it will be removed) | |
+ MaxBuilds = 100 # Builds count after which machine will be removed. | |
MachineDriver = "amazonec2" | |
MachineName = "gitlab-docker-machine-%s" | |
MachineOptions = [ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment