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

Enable scaler to react to change in max/min count #22

Merged
merged 4 commits into from
Jun 20, 2019
Merged

Conversation

slai11
Copy link
Contributor

@slai11 slai11 commented May 10, 2019

Previously the scaler triggers a scale only when count does not match
the desired count, ignoring upper and lower limits. When the limit
changes, a scale out/in should trigger if limits are crossed.

Refer to #20 .

@slai11 slai11 requested a review from guangie88 June 14, 2019 06:18
@slai11 slai11 self-assigned this Jun 14, 2019
@slai11 slai11 added the bug Something isn't working label Jun 14, 2019
resources/resources.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@guangie88 guangie88 left a comment

Choose a reason for hiding this comment

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

See comments in section, otherwise LGTM

Previously the scaler triggers a scale only when count does not match
the desired count, ignoring upper and lower limits. When the limit
changes, a scale out/in should trigger if limits are crossed.
@slai11 slai11 merged commit 5289792 into master Jun 20, 2019
@slai11 slai11 deleted the max-min-bugfix branch June 20, 2019 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants