AWS Node Termination Handler v1.2.0
New Features:
-
NTH now responds to EC2 instance scheduled maintenance events! This feature is experimental, and is by default disabled. You can enable it by using the
--enable-scheduled-event-draining
argument (or the correspondingENABLE_SCHEDULED_EVENT_DRAINING
environment variable). Once enabled, NTH will drain the node before the maintenance window begins. In addition, if a system-reboot maintenance event is received, NTH will add a label to your node and uncordon after the reboot has taken place. Read more about scheduled maintenance events here: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-instances-status-check_sched.html -
Webhooks are now supported!
Tests:
- More e2e tests were added for scheduled maintenance events and webhooks
- Unit tests added