-
Notifications
You must be signed in to change notification settings - Fork 21
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
[feature request] Add ability to check consul service health #49
Comments
Hey @peimanja , can you explain a bit more how you're using bouncer? Note that bouncer currently only uses ASGs launch configs / launch templates to determine if the AMI in question is out of date, not whether it's healthy. Are you currently using bouncer to automatically recycle nodes which are unhealthy? |
Sorry I should have been more clear. We use bouncer to perform rolling updates in case of launch templates change. I was wondering if in Canary mode we could use Consul health checks before terminating the old instances. for example: |
Ah, I follow. So, I think the confusion now is around EC2 health checks & ALBs. An ALB shouldn't be required from a health perspective, instead you can add an It will be a little different on your instance's side, but https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html is the AWS page laying out how to use lifecycle hooks. If you add the launching hooks to your instances, they'll sit in
So yeah, Make sense? |
@holtwilkins That's exactly what I was looking for. Thanks! |
Not all of our ASG are behind ALBs, and EC2 health check not really showing us much in terms of health of the application.
It would be neat to add an option to specify the Consul service of your application running on that ASG and use that to determine if Bouncer should kill the old instances or not.
The text was updated successfully, but these errors were encountered: