Removing the Distributed Tracing Platform
The steps for removing the Red Hat OpenShift Distributed Tracing Platform from an OpenShift Container Platform cluster are as follows:
-
Shut down all Distributed Tracing Platform pods.
-
Remove any TempoStack instances.
-
Remove the Tempo Operator.
Removing by using the web console
You can remove a TempoStack instance in the Administrator view of the web console.
-
You are logged in to the OpenShift Container Platform web console as a cluster administrator with the
cluster-adminrole. -
For Red Hat OpenShift Dedicated, you must be logged in using an account with the
dedicated-adminrole.
-
Go to Ecosystem → Installed Operators → Tempo Operator → TempoStack.
-
To remove the TempoStack instance, select
→ Delete TempoStack → Delete.
-
Optional: Remove the Tempo Operator.
Removing by using the CLI
You can remove a TempoStack instance on the command line.
-
An active OpenShift CLI (
oc) session by a cluster administrator with thecluster-adminrole.Tip
-
Ensure that your OpenShift CLI (
oc) version is up to date and matches your OpenShift Container Platform version. -
Run
oc login:$ oc login --username=<your_username>
-
-
Get the name of the TempoStack instance by running the following command:
$ oc get deployments -n <project_of_tempostack_instance> -
Remove the TempoStack instance by running the following command:
$ oc delete tempo <tempostack_instance_name> -n <project_of_tempostack_instance> -
Optional: Remove the Tempo Operator.
-
Run the following command to verify that the TempoStack instance is not found in the output, which indicates its successful removal:
$ oc get deployments -n <project_of_tempostack_instance>