What the node termination handler does
The AWS node termination handler runs on each Spot instance and watches for termination notifications. When it detects a signal that an instance is going to be reclaimed, it helps your workloads exit cleanly. This improves application stability and reduces interruptions.
The handler helps the Kubernetes control plane respond correctly to events that make a node unavailable, such as:
- EC2 maintenance events
- Spot interruptions
- Auto Scaling group scale‑in
- Auto Scaling group Availability Zone rebalancing
- Manual EC2 instance termination
Without a handler, pods may not shut down gracefully, and your applications may take longer to recover.
How the node termination handler works
When the DaemonSet detects a termination event, it:
-
Identifies that the Spot instance is being reclaimed.
-
Uses the 2‑minute Spot interruption notice to prepare the node.
-
Taints and cordons the node so new pods aren’t scheduled.
-
Drains existing connections from running pods.
-
Lets Kubernetes reschedule replacement pods on healthy nodes.
Using the node termination handler with Ocean
Ocean doesn’t conflict with the AWS node termination handler. You can install the handler on your nodes if you want to manage graceful shutdown logic. However, it’s not required.
Ocean already analyzes how your containers use compute resources and automatically launches or removes nodes as needed. Ocean ensures that your workloads stay available while also scaling down underutilized nodes to reduce costs.
Related Articles
Understand differences in EKS node utilization between AWS and the Flexera console 2Number of Views Why instances may not be gracefully terminated when AWS issues a 2‑minute termination notice 2Number of Views Resolve unregistered EKS nodes and cloud-init syntax errors referencing EOF 5Number of Views Why Ocean doesn’t launch a node automatically after shutdown hours end in EKS 4Number of Views Why an EKS node may launch without a taint 2Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago