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 PagePipelines
Next PageArchitecture

#Introduction

#TOC

#What is Tekton Pipeline?

Tekton Pipeline is a core component of Tekton that provides Kubernetes-native CI/CD solutions. It allows users to define and run automated workflows as a series of steps, tasks, and pipelines, all running as containers on a Kubernetes cluster.

#Core Features

  1. Declarative Pipeline Definition

    • Define pipelines using Kubernetes Custom Resources
    • Compose complex workflows from reusable tasks
    • Support for conditional execution and parallel processing
  2. Resource Management

    • Efficient handling of inputs and outputs
    • Support for workspaces to share data between tasks
    • Parameter passing between pipeline components
  3. Extensibility and Flexibility

    • Custom task definitions
    • Integration with various tools and platforms
    • Support for matrix-based execution
  4. Kubernetes Native

    • Runs entirely on Kubernetes
    • Leverages Kubernetes security and scaling capabilities
    • Follows Kubernetes resource management patterns

#How It Works

Tekton Pipeline operates with the following core components:

  1. Task

    • Defines a series of steps to be executed sequentially
    • Runs in isolated containers within a Kubernetes pod
    • Can define inputs, outputs, and resource requirements
  2. TaskRun

    • Instantiates and executes a Task
    • Provides runtime parameters and resources
    • Tracks execution status and results
  3. Pipeline

    • Defines an ordered series of Tasks
    • Specifies execution order and dependencies
    • Manages data flow between Tasks
  4. PipelineRun

    • Instantiates and executes a Pipeline
    • Provides runtime parameters and resources
    • Tracks overall pipeline execution status
  5. Workspaces

    • Provides shared storage between Tasks
    • Supports various storage backends (PVC, ConfigMap, etc.)
    • Enables data persistence across Task executions

#Use Cases

Tekton Pipeline is suitable for the following scenarios:

  1. Continuous Integration/Continuous Deployment (CI/CD)

    • Automated build and test processes
    • Deployment automation
    • Release management
  2. Infrastructure as Code

    • Automated infrastructure provisioning
    • Configuration management
    • Environment setup and teardown
  3. Application Lifecycle Management

    • Automated testing
    • Security scanning
    • Performance testing

#Key Advantages

  1. Reusability

    • Modular task definitions
    • Shareable pipeline components
    • Standardized workflows
  2. Portability

    • Kubernetes-native design
    • Container-based execution
    • Platform-agnostic workflows
  3. Scalability

    • Leverages Kubernetes scaling
    • Parallel task execution
    • Resource-efficient execution
  4. Observability

    • Detailed execution logs
    • Status tracking
    • Integration with monitoring tools

#Next Steps

  • Quick Start
  • Tasks
  • TaskRuns
  • Workspaces
  • Pipelines
  • PipelineRuns
  • Resolvers

#Reference Resources

  • Official Documentation
  • GitHub Repository
  • Example Collection