amazon-eks-serverless-drainer icon indicating copy to clipboard operation
amazon-eks-serverless-drainer copied to clipboard

Events not fired

Open genepeng opened this issue 6 years ago • 1 comments

I checked the config of sam, found that cloudwatch listen to the events EC2 Spot Instance Interruption Warning and EC2 Instance-terminate Lifecycle Action, but after decreasing the desired capacity of my eks autoscaling group, looks like there is no such two events fired

as I listen to all event of ec2, and forward all event to my email box, I did receive some other events but EC2 Spot Instance Interruption Warning and EC2 Instance-terminate Lifecycle Action in my email

make sam-logs-tail got error botocore.errorfactory.ResourceNotFoundException: An error occurred (ResourceNotFoundException) when calling the FilterLogEvents operation: The specified log group does not exist.

any idea why there is no event EC2 Spot Instance Interruption Warning and EC2 Instance-terminate Lifecycle Action fired?

genepeng avatar Sep 02 '19 04:09 genepeng

Thanks reporting this issue. I am trying to rewrite this refarch with CDK to simplify it.

https://github.com/awslabs/amazon-eks-serverless-drainer/issues/1

Will look into this issue as well and get back to here.

pahud avatar Sep 03 '19 02:09 pahud