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 STAN scale from 0 [WIP] #520

Closed
wants to merge 5 commits into from
Closed

Fix STAN scale from 0 [WIP] #520

wants to merge 5 commits into from

Conversation

cwoolum
Copy link
Contributor

@cwoolum cwoolum commented Dec 18, 2019

Fixes #519

@cwoolum cwoolum changed the title Fix STAN scale from 0 Fix STAN scale from 0 [WIP] Dec 19, 2019
@cwoolum
Copy link
Contributor Author

cwoolum commented Dec 19, 2019

This approach actually won't work. Each ScaledObject needs to track the last max message that was received in order to decide whether to scale up from 0. @ahmelsayed, what do you think? How do you feel about storing it as an annotation on either the ScaledObject or the HPA itself?

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.

STAN scaler does not scale from 0
1 participant