aws/aws-node-termination-handler
Gracefully handle EC2 instance shutdown within Kubernetes observed · 2026-08-28
Health v2 · maintenance only
85/100
- Activity 93
- Release rhythm 65
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 41
- age_days: 2508
- days_rel: 153
- days_push: 43
- n_releases_24m: 10
Adoption not part of the score
1762 stars · 286 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
AWS Node Termination Handler is a Kubernetes daemon/controller that watches for EC2 instance shutdown events such as Spot interruptions, maintenance events, and ASG scale-in. It cordons and drains affected nodes so workloads stop gracefully and are rescheduled elsewhere.
Use cases
- gracefully drain kubernetes nodes before ec2 spot interruption
- handle aws maintenance events in eks cluster
- cordon and drain nodes on asg scale-in
- avoid scheduling pods on terminating ec2 instances
- monitor sqs eventbridge events for ec2 termination in kubernetes
- run spot instances safely in kubernetes
When to choose
- you run Kubernetes on AWS EC2, especially EKS with Spot instances or autoscaling groups
- you need pods to drain and reschedule before instances are terminated
- you want automated cordon/drain triggered by IMDS or EventBridge/SQS events
When to avoid
- your cluster runs on non-AWS infrastructure or non-EC2 nodes
- you use managed node groups with built-in graceful termination already configured
- you need a general-purpose Kubernetes monitoring solution rather than termination handling
Facets
service · maturity active
monitoring deployment workflow-automation cloud-computing infrastructure-as-code go cloud kubernetes aws ec2 spot-instances eks node-draining autoscaling sqs eventbridge graceful-shutdown devops containers docker linux
10 sources
- readme: https://github.com/aws/aws-node-termination-handler · fetched 2026-08-28 · b4058fa3b128
- homepage: https://aws.amazon.com/ec2 · fetched 2026-08-29 · 0cec0878c3ea
- site_page: https://aws.amazon.com/getting-started?nc2=h_dsc_aa_gs · fetched 2026-08-29 · f35fd0664950
- site_page: https://aws.amazon.com/about-aws/global-infrastructure?nc2=h_dsc_aa_gi · fetched 2026-08-29 · 79a446e5fbd1
- site_page: https://aws.amazon.com/products/developer-tools/agent-toolkit-for-aws?nc2=h_dsc_ex_s5 · fetched 2026-08-29 · 3cc21b596f92
- site_page: https://aws.amazon.com/pricing?nc2=h_pr_hub · fetched 2026-08-29 · e2abd01d7981
- site_page: https://aws.amazon.com/savingsplans?nc2=h_pr_sp · fetched 2026-08-29 · 9ff3c7ad93e0
- site_page: https://aws.amazon.com/s3/pricing?nc2=h_pr_s3 · fetched 2026-08-29 · 97bbf99c3793
- site_page: https://aws.amazon.com/bedrock/pricing?nc2=h_pr_br · fetched 2026-08-29 · 4ccc538a3696
- site_page: https://aws.amazon.com/rds/pricing?nc2=h_pr_rds · fetched 2026-08-29 · 538280f30c8a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| aws/aws-node-termination-handler | main | 85 |
For agents
markdown · JSON · MCP: product_card(name="aws/aws-node-termination-handler")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem