Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Allow changes to "runner_worker.max_jobs" for Docker Autoscaler #1221

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jonmcewen
Copy link
Contributor

Description

Remove ignore_changes from the ASG for Docker Autoscaler. The reasoning described in the comment was poor; min_size and desired_capacity are fixed at zero, so won't change, and max_size should change when runner_worker.max_jobs is changed, and will not cause immediate scale-up. If it causes scale-down, this the logical desired behaviour.

Migrations required

No

Verification

Tested by changing runner_worker.max_jobs on an existing runner.

Remove ignore_changes from the ASG for Docker Autoscaler.  The reasoning
described in the comment was poor; min_size and desired_capacity are fixed
at zero, so won't change, and max_size should change when runner_worker.max_jobs
is changed, and will not cause immediate scale-up.
If it causes scale-down, this the logical desired behaviour.
Copy link
Contributor

Hey @jonmcewen! 👋

Thank you for your contribution to the project. Please refer to the contribution rules for a quick overview of the process.

Make sure that this PR clearly explains:

  • the problem being solved
  • the best way a reviewer and you can test your changes

With submitting this PR you confirm that you hold the rights of the code added and agree that it will published under this LICENSE.

The following ChatOps commands are supported:

  • /help: notifies a maintainer to help you out

Simply add a comment with the command in the first line. If you need to pass more information, separate it with a blank line from the command.

This message was generated automatically. You are welcome to improve it.

@jonmcewen jonmcewen changed the title Allow changes to "runner_worker.max_jobs" for Docker Autoscaler fix: Allow changes to "runner_worker.max_jobs" for Docker Autoscaler Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant