问题
I have a NLB in front of an ASG and I want to terminate unhealthy instances in the ASG. Typically I would do this by setting the ASG health check to ELB but I am using NLB and it seems this setting has no effect.
The choice for ASG health checks is either EC2 or ELB and I can't find anything in the docs about NLB. I see clearly in my target group that an instance is unhealthy and whilst the NLB routes traffic to other nodes it seems the ASG still views the instance as healthy.
What are my options here to terminate sick instances in the ASG?
来源:https://stackoverflow.com/questions/56974281/terminate-unhealthy-instances-in-asg-behind-nlb