> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chronosphere.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Uninstall Telemetry Pipeline

Use the information on this page to uninstall Chronosphere Telemetry Pipeline.

<Note>
  For best results, use the same method to uninstall Telemetry Pipeline that you used
  to install it.
</Note>

## Uninstall from a Kubernetes cluster

To uninstall Telemetry Pipeline from a Kubernetes cluster, use one of the following
methods:

<Tabs>
  <Tab title="Pipeline CLI" id="cli-uninstall">
    To uninstall Telemetry Pipeline from a Kubernetes cluster using Pipeline CLI:

    1. [Delete](/ingest/pipeline/v2/build/create-modify#delete-a-pipeline) any active pipelines.

    2. In [Pipeline CLI](/ingest/pipeline/pipeline-cli), run the following command to verify you
       successfully deleted all pipelines:

       ```shell /INSTANCE/ theme={null}
       calyptia get pipelines --core-instance INSTANCE --show-ids
       ```

       Replace *`INSTANCE`* with the name of your Core Instance.

    3. Run the following command to delete your Core Instance:

       ```shell /INSTANCE/ theme={null}
       calyptia delete core_instance operator INSTANCE
       ```

       Replace *`INSTANCE`* with the name of your Core Instance.

    4. Run the following command to uninstall your Core Operator:

       ```shell theme={null}
       calyptia uninstall operator
       ```

    5. Optional: Delete the namespace where you installed Telemetry Pipeline. This
       ensures no stray Telemetry Pipeline resources persist in your cluster. To do
       so, run the following `kubectl` command:

       ```shell /NAMESPACE/ theme={null}
       kubectl delete namespace NAMESPACE
       ```

       Replace *`NAMESPACE`* with the namespace where you installed Telemetry Pipeline.
       If you didn't specify a namespace during your Telemetry Pipeline installation,
       it was installed in the `calyptia` namespace.
  </Tab>

  <Tab title="Helm" id="helm-uninstall">
    To uninstall Telemetry Pipeline from a Kubernetes cluster using Helm:

    1. [Delete](/ingest/pipeline/v2/build/create-modify#delete-a-pipeline) any active pipelines.

    2. Run the following command to determine which Helm charts are installed in your
       cluster:

       ```shell theme={null}
       helm list -n NAMESPACE
       ```

       Replace *`NAMESPACE`* with the namespace where you installed Telemetry Pipeline.

    3. Run the following command to uninstall your Core Instance:

       ```shell /NAME/ /NAMESPACE/ theme={null}
       helm uninstall NAME -n NAMESPACE
       ```

       Replace the following:

       * *`NAME`*: The name of your Core Instance, as displayed by
         the output of the previous step.
       * *`NAMESPACE`*: The namespace where you installed Telemetry Pipeline. If you
         didn't specify a namespace during your Telemetry Pipeline installation, it
         was installed in the `calyptia` namespace.

    4. Run the following command to uninstall the CRDs for Telemetry Pipeline:

       ```shell theme={null}
       helm uninstall core-crd
       ```

    5. Run the following command to uninstall your Core Operator:

       ```shell /NAMESPACE/ theme={null}
       helm uninstall core-operator -n NAMESPACE
       ```

       Replace *`NAMESPACE`* with the namespace where you installed Telemetry Pipeline.

    6. Run the following command to verify that the uninstall commands removed
       all Helm charts for Telemetry Pipeline:

       ```shell theme={null}
       helm list -n NAMESPACE
       ```

       Replace *`NAMESPACE`* with the namespace where you installed Telemetry Pipeline.

    7. Sign in to the [Telemetry Pipeline web interface](https://core.calyptia.com/).

    8. Open the project that contains the Core Instance that you want to delete.

    9. Go to **Core Instances**.

    10. In the **Manage your Core Instances** section, find the Core Instance that you
        want to delete, and then click
        **<Icon icon="ellipsis" />More <span aria-label="and then">></span>
        <Icon icon="trash" />Delete**.
  </Tab>
</Tabs>

## Uninstall from Linux

To uninstall Telemetry Pipeline from a Linux environment, use one of the following
methods:

<Tabs>
  <Tab title="Red Hat Enterprise Linux" id="rhel-uninstall">
    To uninstall Telemetry Pipeline from Red Hat Enterprise Linux or other Red Hat-based
    distributions:

    1. [Delete](/ingest/pipeline/v2/build/create-modify#delete-a-pipeline) any active pipelines.

    2. In [Pipeline CLI](/ingest/pipeline/pipeline-cli), run the following command to verify you
       successfully deleted all pipelines:

       ```shell /INSTANCE/ theme={null}
       calyptia get pipelines --core-instance INSTANCE --show-ids
       ```

       Replace *`INSTANCE`* with the name of your Core Instance.

    3. Run the following command to delete your Core Instance:

       ```shell /INSTANCE/ theme={null}
       calyptia delete core_instance operator INSTANCE
       ```

       Replace *`INSTANCE`* with the name of your Core Instance.

    4. Run the following command:

       ```shell theme={null}
       yum remove calyptia-core-operator
       ```
  </Tab>

  <Tab title="Ubuntu Server Linux" id="ubuntu-uninstall">
    To uninstall Telemetry Pipeline from Ubuntu Server Linux or other Debian-based
    distributions:

    1. [Delete](/ingest/pipeline/v2/build/create-modify#delete-a-pipeline) any active pipelines.

    2. In [Pipeline CLI](/ingest/pipeline/pipeline-cli), run the following command to verify you
       successfully deleted all pipelines:

       ```shell /INSTANCE/ theme={null}
       calyptia get pipelines --core-instance INSTANCE --show-ids
       ```

       Replace *`INSTANCE`* with the name of your Core Instance.

    3. Run the following command to delete your Core Instance:

       ```shell /INSTANCE/ theme={null}
       calyptia delete core_instance operator INSTANCE
       ```

       Replace *`INSTANCE`* with the name of your Core Instance.

    4. Run the following command:

       ```shell theme={null}
       apt remove calyptia-core-operator
       ```
  </Tab>
</Tabs>
