How To Uninstall the RealTheory Collector
Last updated on 8/21/2025
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
- Locate the original deployment manifest for the Collector, or regenerate the default manifest from the RealTheory console in Settings > Agent > Deployment.
- Run the following command to ensure that
kubectlis 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. - 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.