Rechercher

Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 2. Uninstalling OpenShift Pipelines

download PDF

Cluster administrators can uninstall the Red Hat OpenShift Pipelines Operator by performing the following steps:

  1. Delete the Custom Resources (CRs) for the optional components, TektonHub and TektonResult, if these CRs exist, and then delete the TektonConfig CR.

    Caution

    If you uninstall the Operator without removing the CRs of optional components, you cannot remove the components later.

  2. Uninstall the Red Hat OpenShift Pipelines Operator.
  3. Delete the Custom Resource Definitions (CRDs) of the operator.tekton.dev group.

Uninstalling only the Operator will not remove the Red Hat OpenShift Pipelines components created by default when the Operator is installed.

2.1. Deleting the OpenShift Pipelines Custom Resources

If the Custom Resources (CRs) for the optional components, TektonHub and TektonResult, exist, delete these CRs. Then delete the TektonConfig CR.

Procedure

  1. In the Administrator perspective of the web console, navigate to Administration CustomResourceDefinitions.
  2. Type TektonHub in the Filter by name field to search for the TektonHub Custom Resource Definition (CRD).
  3. Click the name of the TektonHub CRD to display the details page for the CRD.
  4. Click the Instances tab.
  5. If an instance is displayed, click the Options menu kebab for the displayed instance.
  6. Select Delete TektonHub.
  7. Click Delete to confirm the deletion of the CR.
  8. Repeat these steps, searching for TektonResult and then TektonConfig in the Filter by name box. If any instances are found for these CRDs, delete these instances.
Note

Deleting the CRs also deletes the Red Hat OpenShift Pipelines components and all the tasks and pipelines on the cluster.

Important

If you uninstall the Operator without removing the TektonHub and TektonResult CRs, you cannot remove the Tekton Hub and Tekton Results components later.

2.2. Uninstalling the Red Hat OpenShift Pipelines Operator

You can uninstall the Red Hat OpenShift Pipelines Operator by using the Administrator perspective in the web console.

Procedure

  1. From the Operators OperatorHub page, use the Filter by keyword box to search for the Red Hat OpenShift Pipelines Operator.
  2. Click the Red Hat OpenShift Pipelines Operator tile. The Operator tile indicates that the Operator is installed.
  3. In the Red Hat OpenShift Pipelines Operator description page, click Uninstall.
  4. In the Uninstall Operator? window, select Delete all operand instances for this operator, and then click Uninstall.
Warning

When you uninstall the OpenShift Pipelines Operator, all resources within the openshift-pipelines target namespace where OpenShift Pipelines is installed are lost, including the secrets you configured.

2.3. Deleting the Custom Resource Definitions of the operator.tekton.dev group

Delete the Custom Resource Definitions (CRDs) of the operator.tekton.dev group. These CRDs are created by default during the installation of the Red Hat OpenShift Pipelines Operator.

Procedure

  1. In the Administrator perspective of the web console, navigate to Administration CustomResourceDefinitions.
  2. Type operator.tekton.dev in the Filter by name box to search for the CRDs in the operator.tekton.dev group.
  3. To delete each of the displayed CRDs, complete the following steps:

    1. Click the Options menu kebab .
    2. Select Delete CustomResourceDefinition.
    3. Click Delete to confirm the deletion of the CRD.

Additional resources

Red Hat logoGithubRedditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez leBlog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.