logo
Alauda DevOps Pipelines Docs
logo
Alauda DevOps Pipelines Docs
Navigation

Overview

Introduction
Architecture
Feature Overview
Lifecycle Policy
Quick Start
Release Notes

Concepts

TektonConfig
TektonPipeline
Install
Upgrade

Configure

Adjusting Optional Configuration Items of Subcomponents
Configuring Resource Quotas for Pipeline Components
Pod Template Configuration Guide
Regular Cleanup of TaskRun and PipelineRun Resources

How To

Deploying tekton-pipelines in a global cluster through TektonConfig

Pipelines

Introduction
Architecture

Concepts

Tasks
TaskRuns
Pipelines
PipelineRuns
StepActions
Resolvers
Workspaces
Pod Templates
Quick Start
permissions

how_to

Adjust Dockerfile for Building Task-Compatible Custom Images

trouble_shooting

Failed to create pod due to config error when using custom images in Tekton

Triggers

Introduction
Architecture

Core Concepts

Core Concepts
EventListener
Trigger
Interceptor
TriggerBinding
TriggerTemplate
Quick Start

How To

Setup EventListener
Use GitLab Event Triggers
Create TriggerTemplate

Troubleshooting

The Pipeline is not automatically triggered
Permission Description

Hub

Introduction
Architecture

Core Concepts

Concepts
Understanding Tekton Hub
Permission Description

Configure

Tekton Hub Configuration
Adding Custom Catalogs

Tutorials

Creating a Custom Catalog
Writing Tasks for Tekton Hub
Writing Pipelines for Tekton Hub

Results

Introduction
Architecture

Concepts

Core Concepts
Tekton Results
Quick Start
permissions

Configure

Database Configuration

Supply Chain Security

Introduction
Architecture

Concepts

Core Concepts
Understanding Tekton Chains
Quick Start

API Reference

Introduction

Kubernetes APIs

Pipelines

Pipeline [tekton.dev/v1]
Task [tekton.dev/v1]
PipelineRun [tekton.dev/v1]
TaskRun [tekton.dev/v1]
ClusterTask [tekton.dev/v1]
Run [tekton.dev/v1]
CustomRun [tekton.dev/v1]
StepAction [tekton.dev/v1]
VerificationPolicy [tekton.dev/v1alpha1]
ResolutionRequest [resolution.tekton.dev/v1beta1]

Triggers

Trigger [triggers.tekton.dev/v1beta1]
TriggerTemplate [triggers.tekton.dev/v1beta1]
EventListener [triggers.tekton.dev/v1beta1]
TriggerBinding [triggers.tekton.dev/v1beta1]
Interceptor [triggers.tekton.dev/v1alpha1]
ClusterTriggerBinding [triggers.tekton.dev/v1beta1]
ClusterInterceptor [triggers.tekton.dev/v1alpha1]

Operator

TektonConfig [operator.tekton.dev/v1alpha1]
TektonInstallerSet [operator.tekton.dev/v1alpha1]
TektonPipeline [operator.tekton.dev/v1alpha1]
TektonTrigger [operator.tekton.dev/v1alpha1]
TektonChain [operator.tekton.dev/v1alpha1]
TektonHub [operator.tekton.dev/v1alpha1]
TektonResult [operator.tekton.dev/v1alpha1]
TektonInstallerSet [operator.tekton.dev/v1alpha1]
OpenShift Pipelines as Code [operator.tekton.dev/v1alpha1]

Advanced APIs

Results

Introduction to API Usage
Results List
Results Details
Result records List
Result logs List
📝 Edit this page on GitHub
Previous PageLifecycle Policy
Next PageRelease Notes

#Quick Start

This document helps new users quickly understand and install the Tekton Operator, enabling management of Tekton components in a Kubernetes cluster.

#TOC

#Introduction

#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

NumberOperational StepsDescription
1Install Tekton OperatorDeploy the Tekton Operator in your Kubernetes cluster
2Verify Operator InstallationConfirm that the Tekton Operator is running correctly
3Install Tekton ComponentsUse the Operator to install Tekton Pipeline, Triggers
4Verify Component InstallationCheck that the Tekton components are properly installed and running

#Operational Steps

#Install Tekton Operator

The Tekton Operator allows you to install, upgrade, and manage Tekton Pipeline, and Triggers components in your Kubernetes cluster.

  1. Open the Operator Hub in Marketplace of Platform Management

  2. Search for "Alauda DevOps Pipelines" and click "Install"

  3. Select the namespace to install the Operator, e.g. tekton-operator

  4. After installation, you can see the Operator in the tekton-operator namespace

#Verify Operator Installation

After installing the Tekton Operator, you should verify that it's running properly before proceeding.

  1. Check that the Operator pods are running:

    kubectl get pods -n tekton-operator
  2. Verify the Operator CRDs (Custom Resource Definitions) are installed:

    kubectl get crds | grep tekton

#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.

  1. Check the TektonConfig resource:

    kubectl get tektonconfig config

    The results should be similar to the following:

    NAME     VERSION           READY   REASON
    config   v0.74.1-fb53414   True
  2. If the TektonConfig resource is not ready, you can continue to check the TektonInstallerSet resource for details.

    kubectl get tektoninstallerset

    The results should be similar to the following:

    NAME                                READY   REASON
    chain-config-5scx2                  True
    chain-secret-xrq7b                  True
    chain-t6wb6                         True
    pipeline-main-deployment-9d9cc      True
    pipeline-main-static-c7zlz          True
    result-j74p5                        True
    tekton-hub-api-jl9xj                True
    tekton-hub-db-5g89c                 True
    tekton-hub-db-migration-q7m8l       True
    tekton-hub-ui-jn6bw                 True
    tektoncd-pruner-fgzfh               True
    trigger-main-deployment-q8zkd       True
    trigger-main-static-8x5w6           True
    validating-mutating-webhook-ksz2k   True

#Expected Results

After completing all steps, you should have:

  • A running Tekton Operator in the tekton-operator namespace
  • One or more installed Tekton components (Pipeline, Triggers, Hub) in the tekton-pipelines namespace
  • Custom Resource Definitions (CRDs) for managing Tekton resources

#Next Steps

Now that you have successfully installed the Tekton Operator and components, you can:

  1. Learn how to create and run Tekton Pipeline Tasks and Pipelines
  2. Set up Tekton Triggers for event-driven pipelines
  3. Configure advanced settings for your Tekton components using the Operator