amazon-eks-serverless-drainer
amazon-eks-serverless-drainer copied to clipboard
Amazon EKS node drainer with AWS Lambda.
Code parses the cluster name from ec2 instance tag according to this line - https://github.com/awslabs/amazon-eks-serverless-drainer/blob/master/main.sh#L37-L38 But when setting kubeconfig, it's using `cluster_name` variable which is different from the parsed cluster...
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...
- [ ] to write a CDK sample to provision the refarch - [ ] scope down the AWS Lambda role