How To Uninstall the RealTheory Collector

Prev Next

The RealTheory Collector is installed on each cluster to monitor and optimize your Kubernetes cluster resources. If you no longer need RealTheory to monitor and optimize a cluster, you can uninstall the RealTheory Collector from that cluster.

Procedure

  1. Locate the original deployment manifest for the Collector, or regenerate the default manifest from the RealTheory console in Settings > Agent > Deployment.

  2. Run the following command to ensure that kubectl is configured to point to the cluster that you want to uninstall the collector from:

    kubectl config use-context <cluster-context-name>

    where <cluster-context-name> is the name of the cluster context that you want to use.

  3. Run the following command to uninstall the Collector:

    kubectl delete -f <deployment_manifest>

    where <deployment_manifest> is the path to the YAML manifest used to deploy the RealTheory collector.