> This page is for Upstream Kubernetes Deployment Guide.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/reference-architectures/llms.txt.

# Uninstallation

This section describes how to uninstall the previous setup, in the case that some of the components are
broken; or a fresh re-install is needed.

1. Run the `cm-kubernetes-setup` command as root user on the BCM headnode.

   ```bash
   root@pdx-289-bcm-01:# cm-kubernetes-setup
   ```

   ![Running cm-kubernetes-setup on the BCM head node, connecting to CMDaemon](/reference-architectures/_fern-files/_img/1f189bf4b5530a24f641503deef10d79c1b0c8490fa55d922229ed06c4e69476.webp)

2. Wizard screen.

   a. Select **Uninstall**, and click **OK**.

   ![Wizard screen with Uninstall option selected](/reference-architectures/_fern-files/nvidia-reference-architectures.docs.buildwithfern.com/0a2322881f759bbd22d6c5640fb10dc09bc7d22b1651c199c54af00b19bc995a/_dot_dot_/docs/upstream-kubernetes-enterprise-ra-deployment-guide/images/upstream-kubernetes-deployment-guide-p29-img170.png)

3. Choosing the cluster.

   a. Toggle the cluster we want to uninstall, and click **OK**.

   ![Cluster selection screen showing the cluster to be uninstalled](/reference-architectures/_fern-files/nvidia-reference-architectures.docs.buildwithfern.com/6d636307594583dd3624afda06672e5c16d9e7e87df1d322077e0256cfeeb456/_dot_dot_/docs/upstream-kubernetes-enterprise-ra-deployment-guide/images/upstream-kubernetes-deployment-guide-p30-img172.png)

4. Confirming the cluster.

   a. Toggle **yes**, and click **OK**.

   ![Cluster uninstallation confirmation screen](/reference-architectures/_fern-files/_img/d13e678e0bc79db9f0bc6257690549c48c6fe510ace57d2c80a7ba09a5c46f4a.webp)

5. Uninstall finished.

   ![Uninstallation complete screen](/reference-architectures/_fern-files/_img/ee8650ed5c1c1333a3a606307abd03169d361dc6bbfc8dc086cda486d9487d20.webp)

6. Rebooting the nodes.

   ![Node reboot progress screen](/reference-architectures/_fern-files/_img/a1d38e989c393f121a7daefc6c86a35e5b6d5701d63b273a558938c284abf4e4.webp)

   ![Node reboot completion output](/reference-architectures/_fern-files/_img/59b02ccc6ccd6c3025b0c3a3cd4e86e27337e0eb37aeb8e852ef7b08d2822f30.webp)