.. meta::
   :description: Uninstall Neuron Observer from an Amazon EKS cluster and remove the Prometheus stack, ADOT add-on, and IAM resources you created for it.
   :keywords: Neuron Observer, uninstall, remove, Helm, EKS, ADOT, Pod Identity
   :date-modified: 10/21/2026
   :content-type-template: _content-types/procedural-how-to.rst

.. _neuron-observer-uninstall:

================================
How to uninstall Neuron Observer
================================

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

Remove the Neuron Observer Helm release and its namespace. Then remove the resources you created only for Neuron Observer: the in-cluster monitoring stack, the ADOT add-on and cert-manager, and the collector IAM role. Skip any resource that other workloads still use.

Instructions
------------

**1:** Remove Neuron Observer

.. code-block:: bash

   helm uninstall neuron-observer --namespace neuron-observer
   kubectl delete namespace neuron-observer

**2:** (Optional) Remove the monitoring stack

If you installed the monitoring stack only for Neuron Observer and no longer need it elsewhere, remove it:

.. code-block:: bash

   helm uninstall prometheus -n monitoring

**3:** (Optional) Remove the ADOT add-on and cert-manager

If you installed the ADOT add-on and cert-manager only for the AMP or CloudWatch option and no other workloads use them, remove them:

.. code-block:: bash

   aws eks delete-addon --cluster-name <your-cluster-name> --addon-name adot --region <REGION>
   kubectl delete -f https://github.com/cert-manager/cert-manager/releases/download/v1.17.0/cert-manager.yaml

**4:** (Optional) Remove the collector IAM resources

If you created the Pod Identity association and the ``neuron-observer-pod-identity`` role for the AMP or CloudWatch option, remove them. Deleting the namespace in step 1 does not remove the association or the role.

.. code-block:: bash

   # Find the association for the collector service account
   aws eks list-pod-identity-associations --cluster-name <your-cluster-name> --region <REGION> \
     --namespace neuron-observer --service-account neuron-observer-otel

   # Delete it by association ID
   aws eks delete-pod-identity-association --cluster-name <your-cluster-name> --region <REGION> \
     --association-id <association-id>

   # Remove the inline policies you attached, then the role
   aws iam delete-role-policy --role-name neuron-observer-pod-identity \
     --policy-name neuron-observer-amp-permissions
   aws iam delete-role-policy --role-name neuron-observer-pod-identity \
     --policy-name neuron-observer-cloudwatch-permissions
   aws iam delete-role --role-name neuron-observer-pod-identity

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

- :doc:`/tools/neuron-observer/install-configure` — install options, chart settings, and upgrades.
- :doc:`/tools/neuron-observer/configure-metrics-export` — the export setup that these steps undo.
