[go: nahoru, domu]

×

The steps for removing the Red Hat OpenShift distributed tracing platform (Tempo) from an OpenShift Container Platform cluster are as follows:

  1. Shut down all distributed tracing platform (Tempo) pods.

  2. Remove any TempoStack instances.

  3. Remove the Tempo Operator.

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
  1. Go to OperatorsInstalled OperatorsTempo OperatorTempoStack.

  2. To remove the TempoStack instance, select kebabDelete TempoStackDelete.

  3. Optional: Remove the Tempo Operator.

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 the cluster-admin role.

    • 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>
Procedure
  1. Get the name of the TempoStack instance by running the following command:

    $ oc get deployments -n <project_of_tempostack_instance>
  2. Remove the TempoStack instance by running the following command:

    $ oc delete tempo <tempostack_instance_name> -n <project_of_tempostack_instance>
  3. Optional: Remove the Tempo Operator.

Verification
  1. 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>