Chapter 7. 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.
7.1. Removing by using the web console Copy linkLink copied to clipboard!
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-adminrole. -
For Red Hat OpenShift Dedicated, you must be logged in using an account with the
dedicated-adminrole.
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 Copy linkLink copied to clipboard!
You can remove a TempoStack instance on the command line.
Prerequisites
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>
$ oc login --username=<your_username>Copy to Clipboard Copied! Toggle word wrap Toggle overflow
-
Ensure that your OpenShift CLI (
Procedure
Get the name of the TempoStack instance by running the following command:
oc get deployments -n <project_of_tempostack_instance>
$ oc get deployments -n <project_of_tempostack_instance>Copy to Clipboard Copied! Toggle word wrap Toggle overflow Remove the TempoStack instance by running the following command:
oc delete tempo <tempostack_instance_name> -n <project_of_tempostack_instance>
$ oc delete tempo <tempostack_instance_name> -n <project_of_tempostack_instance>Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 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:
oc get deployments -n <project_of_tempostack_instance>
$ oc get deployments -n <project_of_tempostack_instance>Copy to Clipboard Copied! Toggle word wrap Toggle overflow