aws / aws-node-termination-handler

Gracefully handle EC2 instance shutdown within Kubernetes
https://aws.amazon.com/ec2
Apache License 2.0
1.63k stars 265 forks source link

IMDS Lifecycle Hook Event on drain #1075

Open paurosello opened 1 day ago

paurosello commented 1 day ago

Description of changes:

Emit a CONTINUE event once the node has been drained when running in IMDS mode, currently the machine hangs until lifecylce hook timeout or terminates immediately making the draining impossible sometimes.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.