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 YAML manifest file that was used to install the Collector.
-
If you no longer have the deployment manifest, you can redownload the default manifest from Settings > Agent > Deployment in the RealTheory Console.
-
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. -
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.