Deploy Neuron Node Problem Detector and Recovery#
The Neuron Node Problem Detector and Recovery is a critical resiliency component that continuously monitors the health of Neuron devices on each Kubernetes node by detecting hardware and software errors such as device failures, driver problems, and runtime errors. It integrates with the Kubernetes Node Problem Detector framework to report Neuron-specific conditions. When unrecoverable issues are detected, it can automatically remediate problems by marking nodes as unhealthy and triggering node replacement to prevent workload scheduling on faulty hardware. The component can also publish CloudWatch metrics under the NeuronHealthCheck namespace for monitoring and alerting purposes.
Requirements
Before deploying the Neuron Node Problem Detector and Recovery, ensure the following requirements are met:
Neuron Driver: Version 2.15 or later
Neuron Runtime: SDK 2.18 or later
Prerequisites: All prerequisites for Kubernetes containers and the Neuron Node Problem Detector must be satisfied
Installation
Install the Neuron Node Problem Detector and Recovery as a DaemonSet using Helm:
Note
The installation pulls the container image from the upstream Node Problem Detector repository at registry.k8s.io/node-problem-detector.
helm upgrade --install neuron-helm-chart oci://public.ecr.aws/neuron/neuron-helm-chart
Enable Node Recovery
By default, the Neuron Node Problem Detector runs in monitor-only mode. To enable automatic node recovery functionality:
helm upgrade --install neuron-helm-chart oci://public.ecr.aws/neuron/neuron-helm-chart \
--set "npd.nodeRecovery.enabled=true"
Verify Installation
Verify that the Node Problem Detector pods are running:
kubectl get pod -n neuron-healthcheck-system
Expected output (example with 4 nodes in cluster):
NAME READY STATUS RESTARTS AGE
node-problem-detector-7qcrj 1/1 Running 0 59s
node-problem-detector-j45t5 1/1 Running 0 59s
node-problem-detector-mr2cl 1/1 Running 0 59s
node-problem-detector-vpjtk 1/1 Running 0 59s
Monitoring and Metrics
When an unrecoverable error occurs, the Neuron Node Problem Detector:
Publishes metrics to CloudWatch under the
NeuronHealthChecknamespaceUpdates the node’s
NodeCondition, which can be viewed using:kubectl describe node <node-name>
Integrate Neuron Observer with Kubernetes NodeConditions#
Neuron Observer collects Trainium accelerator and system telemetry, including device health, hardware faults, and performance metrics. Starting with Neuron 2.34, the Neuron Node Problem Detector integration automatically translates supported Neuron Observer health signals into Kubernetes NodeConditions on Amazon EKS. You can use these NodeConditions in your existing Kubernetes monitoring and recovery workflows.
Note
This integration is in beta, because it depends on Neuron Observer, which is in public beta. It supports Trn2 and Trn3 instances only.
This release covers uncorrectable errors in High Bandwidth Memory (HBM) and Static RAM (SRAM). These errors cannot be recovered from, and a node that reports one should not be used.
Requirements
Instances: Trn2 or Trn3.
Neuron Driver: the version from Neuron 2.32 or later. Earlier drivers don’t report device health to Neuron Observer, so the condition stays
Unknown.Neuron Observer: running on the node, installed with the Neuron Helm chart. If Neuron Observer is not found when the Node Problem Detector is installed or upgraded, the integration stays off and the install still succeeds;
NeuronHealthkeeps working as before.
Installation
The Neuron Helm chart enables the Node Problem Detector by default. When the chart installs or upgrades the Node Problem Detector, it checks whether Neuron Observer is running and, if so, turns on the integration. No extra setting is needed. Install Neuron Observer only once, in one of the following ways.
If you already run Neuron Observer, for example as the neuron-observer release from How to install and configure Neuron Observer on Amazon EKS, which sets npd.enabled=false: install or upgrade the Node Problem Detector with the command from Installation at the top of this page, after Neuron Observer is running. Don’t set observer.enabled=true in this release.
helm upgrade --install neuron-helm-chart oci://public.ecr.aws/neuron/neuron-helm-chart
If you installed the Node Problem Detector before Neuron Observer, run the same command again so that it finds Neuron Observer.
If you don’t run Neuron Observer yet: install both in one release.
helm upgrade --install neuron-helm-chart oci://public.ecr.aws/neuron/neuron-helm-chart \
--set "observer.enabled=true" \
--set "observer.namespace.create=true"
After the Node Problem Detector pods start, each Neuron node reports the NeuronMemoryUncorrectableError NodeCondition, with status False while no error is present.
When node recovery is enabled (npd.nodeRecovery.enabled=true), a node that reports NeuronMemoryUncorrectableError as True is marked as unhealthy and replaced, in the same way as for NeuronHealth. When node recovery is disabled, the NodeCondition reports the error only.
Available Neuron NodeConditions
The following Neuron NodeConditions are available. NPD also emits a Kubernetes event on the node each time a condition changes.
NodeCondition |
Description |
Possible values and meanings |
|---|---|---|
|
Reports errors from the existing kernel log |
|
|
Reports uncorrectable memory errors detected by Neuron Observer |
|
Note
NeuronHealth is a legacy condition and will be deprecated in a future release.
Understanding the NeuronMemoryUncorrectableError condition#
NeuronMemoryUncorrectableError groups supported HBM and SRAM uncorrectable memory errors under one Kubernetes condition.
Each condition includes the following fields:
Field |
Description |
Possible or example value |
|---|---|---|
Status |
Indicates whether a supported fault was detected |
|
Reason |
Short classification of the condition |
|
Message |
Provides detailed error information, affected devices, and suggested action |
|
Observer health signal to NodeCondition mapping#
With Neuron 2.34 and later, the Node Problem Detector integration supports the following Neuron Observer signals:
Observer health signal |
NodeCondition |
Status when detected |
|---|---|---|
Unrepairable HBM uncorrectable error |
|
|
SRAM uncorrectable error |
|
|
Verify the NodeCondition
kubectl describe node <node-name>
On a healthy node, both Neuron NodeConditions appear in the Conditions section:
Conditions:
Type Status Reason Message
---- ------ ------ -------
NeuronHealth False NeuronHasNoError Neuron has no error
NeuronMemoryUncorrectableError False NeuronHasNoError Neuron has no uncorrectable error
Example
An unrepairable HBM error occurs on device 1, and SRAM uncorrectable errors occur on devices 1 and 4. On the next check, the NodeCondition changes:
kubectl get node <node-name> \
-o jsonpath='{.status.conditions[?(@.type=="NeuronMemoryUncorrectableError")]}' | jq
{
"type": "NeuronMemoryUncorrectableError",
"status": "True",
"reason": "MemoryUncorrectableError",
"message": "[HBM_UNCORRECTABLE_ERROR, SRAM_UNCORRECTABLE_ERROR] HBM_UNCORRECTABLE_ERROR: device 1; SRAM_UNCORRECTABLE_ERROR: device 1, 4. Suggested action: DoNotUse",
"lastTransitionTime": "2026-11-09T19:15:33Z"
}