Installing Pipelines
The following section describes how to install and uninstall OpenShift Pipelines.
Installing the Pipelines Operator
OpenShift Pipelines can be installed by using the operator indexed in the OpenShift OperatorHub.
Prerequisites
-
An OpenShift 4 cluster is required for installation. Visit try.openshift.com for information on setting up an OpenShift 4 cluster.
-
You must have cluster administrator privileges to install and use the Pipelines Operator.
-
Download the Tekton CLI
tkn
, and add it’s location to yourPATH
environment variable.
Procedure
-
In the Web Console, navigate to Catalog → OperatorHub.
-
Use the Filter by keyword box to search for OpenShift Pipelines Operator in the catalog. Click on the OpenShift Pipelines Operator tile.
-
The OpenShift Pipelines Operator screen providing a brief description of the operator is displayed. Click Install.
-
On the Create Operator Subscription screen, ensure the installation mode selected is All namespaces on the cluster (default), then click Subscribe.
-
The operator is installed automatically into the
openshift-operators
namespace. The option to install in A specific namespace on the cluster should be disabled. The OpenShift Pipelines operator should watch for Tekton Custom Resources across all namespaces. -
OpenShift Pipelines upgrades are handled automatically through Operator Subscription. New updates will be installed as soon as they become available.
-
OpenShift Pipelines 0.5.2 has introduced changes incompatible with older versions. If the installed version is 0.5.0 or below, the operator will not be automatically upgraded. To upgrade from the 0.5.0 or below, uninstall the operator and then install it again.
-
-
-
In the Subscription Overview screen, verify the installation of the operator by confirming that the UPGRADE STATUS is
1 installed
.
Deleting the project and uninstalling the pipelines operator
Deleting the Project
Procedure
-
In the OpenShift Web Console, navigate to Home > Projects .
-
Select the
pipelines
project, on the listed page. -
Right click the menu icon on the
pipelines
row. -
Select Delete Project.
-
Confirm deletion by typing pipelines in the field that appears.
-
Click Delete.
-
The project is now deleted from the Projects list and cluster.
Uninstalling the pipelines operator
Procedure
-
Go to Catalog > OperatorHub in the Web Console.
-
Click on the OpenShift Pipelines Operator tile. The operator tile will indicate it is installed.
-
The Show Community Operator` dialog box will appear. Click Continue to proceed.
-
Once, the OpenShift Pipelines Operator descriptor screen appears, click Uninstall.
-
Select Also completely remove the Operator from the selected namespace, in the Remove Operator Subscription dialog box.
-
Click Remove.