Offpeak option is deprecated and will be removed in version 14.
See original GitHub issueHello,
Just wondering how i can configure a subsection under runners.machine? The current offpeak option will be removed with gitlabrunner version 14. The new solution is using the runners.machine.autoscaling option: https://docs.gitlab.com/runner/configuration/autoscale.html#autoscaling-periods-configuration
Current config:
extra_configs:
runners.machine:
IdleCount: 1
IdleTime: 1800
OffPeakPeriods: ["* * 0-7,18-23 * * mon-fri *", "* * * * * sat,sun *"]
OffPeakIdleCount: 0
OffPeakIdleTime: 600
MachineDriver: 'google'
New config:
extra_configs:
runners.machine:
IdleCount: 1
IdleTime: 1800
MachineDriver: 'google'
runners.machine.autoscaling:
Periods: ["* * 0-7,18-23 * * mon-fri *","* * * * * sat,sun *"]
IdleCount: 0
IdleTime: 600
output with the new section:
[runners.machine]
IdleTime = 1800
IdleCount = 1
MachineDriver = "google"
MachineName = "auto-scale-runner-%s"
runners.machine.autoscaling = {"Periods": ["* * 0-7,18-23 * * mon-fri *", "* * * * * sat,sun *"], "IdleCount": 0, "IdleTime": 600}
should be:
[runners.machine]
IdleTime = 1800
IdleCount = 1
MachineDriver = "google"
MachineName = "auto-scale-runner-%s"
[[runners.machine.autoscaling]]
Periods = ["* * 0-7,18-23 * * mon-fri *", "* * * * * sat,sun *"]
IdleCount = 0
IdleTime = 600
Is there an issue with my config in Ansible or is this not supported yet?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (6 by maintainers)
Top Results From Across the Web
2022.9: Home Assistant Birthday Release!
Support for MQTT climate hold and away modes, which was deprecated in Home Assistant Core 2022.3. 0, has been removed. The hold and...
Read more >GitLab 14.0 released with a celebration of GitLab 14
GitLab Workflow version 3.21.0 for Visual Studio Code (VS Code) now supports the complete merge request review process, including threads.
Read more >SOTI MobiControl Release Notes
... MobiControl as SOTI Identity user groups will be removed as part of the upgrade. ... Previous versions of the API are being...
Read more >Standard cluster upgrades | Google Kubernetes Engine ...
To upgrade a cluster, GKE updates the version the control plane and nodes ... to a deprecated API or feature that will be...
Read more >npalm/gitlab-runner/aws
Description: Deprecated, please use `runners_machine_autoscaling`. Off peak periods of the runners, will be used in the runner config.toml.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No need to put all the burden on a single person, can simply add both of us as maintainers in the repo settings.
Status still the same I still do best effort on the PR’s alone.