Quick Start
This document helps new users quickly understand and install the Tekton Operator, enabling management of Tekton components in a Kubernetes cluster.
TOC
IntroductionApplicable ScenariosExpected Reading TimeNotesPrerequisitesOverview of the ProcessOperational StepsInstall Tekton OperatorVerify Operator InstallationInstall Tekton ComponentsVerify Component InstallationExpected ResultsNext StepsIntroduction
Applicable Scenarios
This guide is suitable for users who need to deploy and manage Tekton Pipeline, Triggers, or other Tekton components on a Kubernetes cluster. Tekton Operator simplifies the installation, upgrade, and management of these components.
Expected Reading Time
10-15 minutes
Notes
- You must have cluster administrator privileges to install Tekton Operator
- Installing Tekton components through the Operator will create resources in your cluster
- All commands assume you have configured kubectl to connect to your cluster
Prerequisites
- Kubernetes cluster (version 1.21 or higher)
- kubectl command line tool installed and configured
- Cluster administrator permissions
- Internet access for pulling container images
Overview of the Process
Operational Steps
Install Tekton Operator
The Tekton Operator allows you to install, upgrade, and manage Tekton Pipeline, and Triggers components in your Kubernetes cluster.
-
Open the Operator Hub in Marketplace of Platform Management
-
Search for "Alauda DevOps Pipelines" and click "Install"
-
Select the namespace to install the Operator, e.g.
tekton-operator -
After installation, you can see the Operator in the
tekton-operatornamespace
Verify Operator Installation
After installing the Tekton Operator, you should verify that it's running properly before proceeding.
-
Check that the Operator pods are running:
The results should be similar to the following:
-
Verify the Operator CRDs (Custom Resource Definitions) are installed:
The results should be similar to the following:
Install Tekton Components
The Tekton Operator uses custom resources to manage Tekton components. By default, the Operator will install Pipeline, Triggers, Chains, and Hub automatically. You can install Results, Pipelines-as-Code by creating these custom resources.
Verify Component Installation
After installing the Tekton components, you should verify that they are running properly.
-
Check the TektonConfig resource:
The results should be similar to the following:
-
If the TektonConfig resource is not ready, you can continue to check the TektonInstallerSet resource for details.
The results should be similar to the following:
Expected Results
After completing all steps, the TektonConfig and TektonInstallerSet resources should be ready, you should have:
- A running Tekton Operator in the
tekton-operatornamespace - One or more installed Tekton components (Pipeline, Triggers, Hub, Chains) in the
tekton-pipelinesnamespace - Custom Resource Definitions (CRDs) for managing Tekton resources
Next Steps
Now that you have successfully installed the Tekton Operator and components, you can:
- Learn how to create and run Tekton Pipeline Tasks and Pipelines
- Set up Tekton Triggers for event-driven pipelines
- Configure advanced settings for your Tekton components using the Operator