-
Notifications
You must be signed in to change notification settings - Fork 27
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
Scaler seems to bypass Lifecycle Hooks #8
Comments
Just did some testing and not seeing lifecycle events firing. I suspect that lifecycle hooks only fire when there are autoscaling rules on an ASG. |
I wonder if we could use target tracking to scale-in, but use the lamba for scale-out 🤔 |
Is this issue relevant anymore with the new version? @lox |
It is in the sense that it's still a thing if you try and use the scale-in support in the lambda, but we disable it in Elastic Stack. I'd still love to know why it doesn't work. |
This appears to have been fixed some time between last being looked at and now. In buildkite/elastic-ci-stack-for-aws#964 I’m looking at re-enabling scale in (set desired count to less than current) in the Lambda and using service-side ASG lifecycle hook handlers to orchestrate the agent exit, and the lifecycle hooks are firing: 🎉 |
In my initial testing, it looks like lifecycle hooks didn't seem to be triggered on scale-ins 🤔
@etaoins have you noticed that?
The text was updated successfully, but these errors were encountered: