Giter Club home page Giter Club logo

amazon-eks-serverless-drainer's People

Contributors

chankh avatar jamesiri avatar pahud avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

amazon-eks-serverless-drainer's Issues

Events not fired

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?

auto discovered cluster name is not actually set

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 name (input_cluster_name) - https://github.com/awslabs/amazon-eks-serverless-drainer/blob/master/main.sh#L41

By default, when you deploy with a click of a button, it doesn't set the cluster_name variable at all. And now I am wondering how is this expected to work?
Also note: The lambda function itself doesn't handle errors well and makes everything look like it has worked

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.