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

Avoid scale out over max and scale in under min #37

Merged
merged 5 commits into from
Oct 19, 2020

Conversation

JuanitoFatas
Copy link
Member

@JuanitoFatas JuanitoFatas commented Oct 19, 2020

We verified this works on a real pipeline using stack built from this PR.

スクリーンショット 2020-10-19 11 14 47

Closes #34.

nitrocode and others added 5 commits October 7, 2020 08:17
The reason we are doing here is because AWS API call will fail if we scale beyond min/max of ASG.

Co-Authored-By: James Healy <8132+yob@users.noreply.github.com>
it should cap at the ASG’s MaxSize.

Co-Authored-By: James Healy <8132+yob@users.noreply.github.com>
@JuanitoFatas JuanitoFatas marked this pull request as ready for review October 19, 2020 02:23
@JuanitoFatas JuanitoFatas changed the title Dont scale out over max Avoid scale out over max and scale in under min Oct 19, 2020
Copy link
Contributor

@yob yob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

The ScaleIn changes won't be used in practice, but it's nice to include them for completeness.

@JuanitoFatas JuanitoFatas merged commit 456bf3b into master Oct 19, 2020
@JuanitoFatas JuanitoFatas deleted the dont-scale-out-over-max branch October 19, 2020 02:28
@JuanitoFatas JuanitoFatas mentioned this pull request Oct 19, 2020
2 tasks
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.

ScaleOutFactor * number of jobs cannot be greater than MaxSize or no agents will be scaled out
3 participants