.. meta::
   :description: Install Neuron Observer on an Amazon EKS cluster with Trainium nodes: full prerequisites, Neuron Helm chart components and values, verification, and upgrades.
   :keywords: Neuron Observer, install, configure, upgrade, EKS, Helm, DaemonSet, Trainium, Prometheus
   :date-modified: 10/21/2026
   :content-type-template: _content-types/procedural-how-to.rst

.. _neuron-observer-install-configure:

==========================================================
How to install and configure Neuron Observer on Amazon EKS
==========================================================

Overview
-------------

The Helm chart deploys Neuron Observer as a DaemonSet on each Trainium node in your Amazon EKS cluster. This page covers what the :doc:`quickstart </tools/neuron-observer/get-started>` skips: the full prerequisites, the other components that the Neuron Helm chart ships and how to turn them off, how to install into a cluster that already runs Prometheus, how to verify the daemon, and how to upgrade to a newer chart version.

To send metrics to Amazon CloudWatch or Amazon Managed Service for Prometheus (AMP), or to scrape the daemon from a Prometheus that doesn't use the Prometheus Operator, see :doc:`/tools/neuron-observer/configure-metrics-export`. To remove Neuron Observer, see :doc:`/tools/neuron-observer/uninstall`.

.. note::

   Neuron Observer is in public beta. APIs, metric names, and installation steps can change before general availability.

Prerequisites
-------------

- **EKS cluster** with Trainium 2 (Trn2) or Trainium 3 (Trn3) node groups.
- **Neuron driver loaded** on nodes (``/dev/neuron0`` must exist on each Neuron node).
- **Nodes labeled** with ``neuron.amazonaws.com/present: "true"`` (applied automatically by the Neuron device plugin).
- **Network access to Amazon ECR Public** from the workstation and cluster nodes:

  - Image — ``public.ecr.aws/neuron/neuron-observer:0.3.0``
  - Chart — ``oci://public.ecr.aws/neuron/neuron-helm-chart`` version ``1.12.0``

- **Prometheus installed in-cluster** to scrape the daemon's native ``/metrics`` endpoint. If Prometheus is not installed, see Step 1 of the :doc:`quickstart </tools/neuron-observer/get-started>` to install the ``kube-prometheus-stack`` Helm chart. For CloudWatch or AMP export, see :doc:`/tools/neuron-observer/configure-metrics-export` for the additional prerequisites.
- **helm 3.8+** on the workstation (needed for OCI-registry chart pulls).

Install Neuron Observer
-----------------------

**1:** Choose the chart components

Every install uses the same Neuron Helm chart and needs ``--set observer.enabled=true``. The chart also packages other Neuron components: the device plugin (``devicePlugin``), node problem detector (``npd``), scheduler extension (``scheduler``), DRA driver (``draDriver``), and UltraServer operator (``ultraserverOperator``). The device plugin and node problem detector are enabled by default.

The commands in this guide install Neuron Observer only, so they turn the other components off. This doesn't affect components you've already installed in another Helm release. To install one of them in this release, remove its flag from ``COMMON``.

For a full list of the ``observer.*`` chart values and their defaults, see :ref:`neuron-observer-configuration-reference`.

Common flags for every install:

.. code-block:: bash

   CHART=oci://public.ecr.aws/neuron/neuron-helm-chart
   CHART_VERSION=1.12.0
   # Turn off the chart's other Neuron components; this release installs
   # Neuron Observer only.
   COMMON="--set draDriver.enabled=false \
           --set devicePlugin.enabled=false \
           --set scheduler.enabled=false \
           --set ultraserverOperator.enabled=false \
           --set npd.enabled=false"

**2:** Install Neuron Observer

Run ``helm upgrade --install``. Prometheus scrapes the daemon directly and does not require an OpenTelemetry collector.

.. code-block:: bash

   helm upgrade --install neuron-observer $CHART \
     --version $CHART_VERSION \
     --namespace neuron-observer --create-namespace \
     $COMMON \
     --set observer.enabled=true \
     --set observer.monitoring.releaseLabel=prometheus \
     --set observer.monitoring.grafanaDashboards.enabled=true

``observer.monitoring.releaseLabel`` must match the ``release`` label that your Prometheus Operator selects. The value ``prometheus`` matches a ``kube-prometheus-stack`` release named ``prometheus``. If your release has another name, set the label to that name.

This example creates the dashboard ``ConfigMap`` resources in the ``monitoring`` namespace. The ``kube-prometheus-stack`` Grafana sidecar container discovers them. If your sidecar container watches another namespace or label, set the corresponding ``observer.monitoring.grafanaDashboards.*`` values.

To export to AMP or CloudWatch, add the pipeline flags from :doc:`/tools/neuron-observer/configure-metrics-export` to this command. You can also add them later by rerunning the command with the extra flags.

**3:** Verify the installation

To confirm the installation succeeded, check that pods are running on each Neuron node:

.. code-block:: bash

   kubectl get pods -n neuron-observer -o wide

Expected output: one ``neuron-observer`` pod per Neuron node in ``Running`` state. The AMP and CloudWatch options also create one collector pod per Neuron node.

Verify the daemon is healthy:

.. code-block:: bash

   kubectl exec -n neuron-observer <observer-pod> -- nobs status
   # Expected output:
   # version        <installed version>
   # live           true
   # ready          true
   # neuron driver  <installed driver version>
   # efa driver     <installed EFA version, when available>

Verify that the daemon produces metrics at its native Prometheus endpoint:

.. code-block:: bash

   kubectl port-forward -n neuron-observer <observer-pod> 7001:7001

In another terminal:

.. code-block:: bash

   curl -s http://localhost:7001/metrics | head -30

The response contains Prometheus exposition-format output with metrics prefixed with ``neuron_``.

Upgrade Neuron Observer
-----------------------

To upgrade to a newer chart version, rerun the ``helm upgrade --install`` command from step 2 with the new ``--version`` value and the same ``--set`` flags. Helm applies the new chart to the existing release and replaces the daemon pods.

To check the installed chart version:

.. code-block:: bash

   helm list -n neuron-observer

After the upgrade, repeat step 3 to confirm that the daemon is ready. For the chart and image versions that ship with each Neuron release, see the :doc:`Neuron Observer release notes </release-notes/components/observer>`.

Related information
-------------------

- :doc:`/tools/neuron-observer/get-started` — a quickstart from installation to first metrics.
- :doc:`/tools/neuron-observer/configure-metrics-export` — export metrics to CloudWatch or AMP, or configure Prometheus scraping without the Prometheus Operator.
- :doc:`/tools/neuron-observer/configuration-reference` — the Helm chart configuration values, their types, and defaults.
- :doc:`/tools/neuron-observer/metrics-fault-reference` — the metrics and fault events Neuron Observer reports.
- :doc:`/tools/neuron-observer/uninstall` — remove Neuron Observer and the resources you created for it.
- :doc:`/tools/neuron-observer/troubleshooting-faq` — common issues, FAQs, and beta limitations.
