Chapter 7. Removing the Distributed Tracing Platform
For information about removing the deprecated Distributed Tracing Platform (Jaeger), see Removing in the Distributed Tracing Platform (Jaeger) documentation.
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.
7.1. Removing by using the web console
You can remove a TempoStack instance in the Administrator view of the web console.
Prerequisites
-
You are logged in to the OpenShift Container Platform web console as a cluster administrator with the
cluster-admin
role. -
For Red Hat OpenShift Dedicated, you must be logged in using an account with the
dedicated-admin
role.
Procedure
-
Go to Operators
Installed Operators Tempo Operator TempoStack. -
To remove the TempoStack instance, select
Delete TempoStack Delete. - Optional: Remove the Tempo Operator.
7.2. Removing by using the CLI
You can remove a TempoStack instance on the command line.
Prerequisites
An active OpenShift CLI (
oc
) session by a cluster administrator with thecluster-admin
role.Tip-
Ensure that your OpenShift CLI (
oc
) version is up to date and matches your OpenShift Container Platform version. Run
oc login
:Copy to Clipboard Copied! Toggle word wrap Toggle overflow oc login --username=<your_username>
$ oc login --username=<your_username>
-
Ensure that your OpenShift CLI (
Procedure
Get the name of the TempoStack instance by running the following command:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow oc get deployments -n <project_of_tempostack_instance>
$ oc get deployments -n <project_of_tempostack_instance>
Remove the TempoStack instance by running the following command:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow oc delete tempo <tempostack_instance_name> -n <project_of_tempostack_instance>
$ oc delete tempo <tempostack_instance_name> -n <project_of_tempostack_instance>
- Optional: Remove the Tempo Operator.
Verification
Run the following command to verify that the TempoStack instance is not found in the output, which indicates its successful removal:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow oc get deployments -n <project_of_tempostack_instance>
$ oc get deployments -n <project_of_tempostack_instance>