Skip to content

Releases: aws/aws-node-termination-handler

AWS Node Termination Handler v1.9.0

21 Oct 22:39
Compare
Choose a tag to compare

🎊🎊🎊🎊🎊 NTH Queue Processing Mode (Preview) 🥳🥳🥳🥳🥳

This release adds support for a new mode of operation for NTH called queue-processor. Until now, NTH has operated by monitoring the EC2 Instance Metadata Service (IMDS) for spot ITN events and EC2 scheduled maintenance events. The new queue-processor mode allows NTH to respond to more events like ASG lifecycle hooks, EC2 state changes, and Spot ITNs by sourcing events from Amazon EventBridge + Amazon SQS.

The new queue-processor mode is a preview and is not meant for production environments right now. However, we would love for you to try it out on your test clusters. GA support will follow very soon!

Check out the readme on how to get started with NTH queue-processing mode https://github.com/aws/aws-node-termination-handler#installation-and-configuration

Other Changes:

AWS Node Termination Handler v1.8.0

29 Sep 21:54
9a3bfc4
Compare
Choose a tag to compare

Features:

  1. Support for webhook templates (#253 thanks to @supasteev0 )
  2. Improved logs
    • Better support of JSON logging
    • Log all pods when a node is cordoned (#257 thanks to @wanwenli )
    • Reduced log clutter from new events

Other Changes:

  1. Upgraded Amazon EC2 Metadata Mock version to 1.6
  2. Additional retries to improve stability
  3. New documentation on simulating interruptions with AEMM

AWS Node Termination Handler v1.7.0

18 Aug 17:36
e5705ff
Compare
Choose a tag to compare

Features:

  1. Add availability zone to node metadata for use in webhook templates (#210 thanks to @DP19 )

Other Changes:

  1. Moved to Amazon EC2 Metadata Mock for end-to-end tests.
  2. Moved to go 1.15 and stripped debug tables from binary to make the image slightly smaller.
  3. Added helm test to check template generation
  4. Added retry logic for installing AEMM in tests to improve test stability

AWS Node Termination Handler v1.6.1

10 Jul 18:27
216ed72
Compare
Choose a tag to compare

Bugs:

  1. Fix helm chart error when deploying to EKS where semver comparison fails because of Minor version having a + on the end. (#195 thanks to @itssimon for reporting #193)
  2. Do not schedule to fargate since it won't work correctly anyways (#191 thanks to @limed )
  3. Fix incorrect flag description for --ignore-daemon-sets (#194 thanks to @takanabe )

AWS Node Termination Handler v1.6.0

07 Jul 18:55
e16065c
Compare
Choose a tag to compare

New Features: 🥳 🎉 🎊

  1. Experimental Windows support! (#185 thanks to @cjerad )
  2. Support specifying the Webhook URL in a K8s secret (#179 thanks to @imuqtadir and @farshad-hobsons for suggesting this feature #170)
  3. Support adding pod labels in the helm chart (#180 thanks to @mwconceicao)

Bugs:

  1. Do not fail on scheduled maintenance event when no end date is present (#182 thanks to @yzargari for reporting #147)
  2. Fix typo in prometheus metrics for "pre-drain" (#184 thanks to @zuzzas)

Docs:

  1. Adds a section in the readme on how to use aws-node-termination-handler with Kiam (#188 thanks to @leosunmo)

Tests:

  1. Added eks driver for e2e tests on windows nodes

AWS Node Termination Handler v1.5.0

19 Jun 21:01
4c11208
Compare
Choose a tag to compare

New Features:

  1. Optionally taint nodes when a termination event or maintenance event is triggered (#162 thanks to @diversario)
  2. Optionally enable a prometheus metrics endpoint (#172 thanks to @manute)

Tests:

  1. Added end-to-end tests for tainting nodes
  2. Added end-to-end tests for prometheus metrics

AWS Node Termination Handler v1.4.0

08 May 17:13
9769814
Compare
Choose a tag to compare

New Features:

  1. Supports HTTP(S) proxying for webhooks (#150)
  2. Supports optional JSON logging (#152)
  3. Supports an optional cordon-only which only marks the node as unschedulable and does not drain the pods off the node. (#145)
  4. Removed unneeded K8s permissions given to aws-node-termination-handler in its cluster role. (#140)
  5. Tolerate all taints by default so that aws-node-termination-handler is launched everywhere. (#128)

Bug Fixes:

  1. Fixed a bug where Scheduled Maintenance Events start and end times could not be parsed when the day was a single digit. (#148)
  2. Fixed a bug where Scheduled Maintenance Event cancellations fail because of an alternative spelling of "canceled". (#133)

Tests:

  1. Added end-to-end tests for webhook HTTP proxy
  2. Added end-to-end tests for cordon-only feature
  3. Upgraded to Kind (Kubernetes-in-Docker) to version 0.8.1 for e2e tests.

AWS Node Termination Handler v1.3.1

18 Mar 17:20
6cb1cff
Compare
Choose a tag to compare

Bug Fixes:

  • Fixes a leak in the http client configuration

AWS Node Termination Handler v1.3.0

10 Mar 16:02
04af7a8
Compare
Choose a tag to compare

New Features:

  1. Supports IMDSv2
  2. Supports additional node metadata to construct more detailed webhook notifications. (#94)

Bug Fixes:

  1. Fixed IMDS parsing of Spot ITN events and added more IMDS requests to fill in node metadata that was not being returned by the Spot ITN response (#104).

Tests:

  1. Unit test coverage extended

AWS Node Termination Handler v1.2.0

04 Feb 00:14
1e2a103
Compare
Choose a tag to compare

New Features:

  1. 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 corresponding ENABLE_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

  2. Webhooks are now supported!

Tests:

  1. More e2e tests were added for scheduled maintenance events and webhooks
  2. Unit tests added